Details

Time bar (total: 20.5s)

sample160.0ms

Algorithm
intervals
Results
58.0ms44×body640valid
32.0ms57×body1280valid
11.0ms123×body80valid
6.0ms23×body320valid
2.0msbody160valid

simplify43.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0715
11315
22214
32914
43714
54214
64414
done4414

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.4b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma (tan x) (tan x) 1.0)
0.2b
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
0.2b
(- 1.0 (* (tan x) (tan x)))
0.3b
(* (tan x) (tan x))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
12×times-frac
11×pow1
add-exp-log add-cbrt-cube
add-log-exp
difference-of-squares
tan-quot expm1-log1p-u log1p-expm1-u associate-/l*
fma-neg swap-sqr associate-*r* associate-*l* prod-diff associate-/r*
flip3-- flip-- associate-/l/
cbrt-undiv pow2 frac-times sub-neg frac-2neg pow-plus diff-log div-sub associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod fma-udef div-inv unswap-sqr
Counts
4 → 97
Calls
4 calls:
0.0ms
(fma (tan x) (tan x) 1.0)
15.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
6.0ms
(- 1.0 (* (tan x) (tan x)))
30.0ms
(* (tan x) (tan x))

series313.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(fma (tan x) (tan x) 1.0)
152.0ms
(/ (- 1.0 (* (tan x) (tan x))) (fma (tan x) (tan x) 1.0))
53.0ms
(- 1.0 (* (tan x) (tan x)))
53.0ms
(* (tan x) (tan x))

simplify2.5s

Counts
109 → 109
Iterations

Useful iterations: done (2.5s)

IterNodesCost
01551557
13301462
28911345
328101320
done50001314

prune556.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 0.1b

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (cos x) 2)
0.3b
(pow (cos x) 2)
0.3b
(pow (sin x) 2)
0.3b
(pow (sin x) 2)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt add-cube-cbrt unpow-prod-down pow-unpow *-un-lft-identity
pow1 add-exp-log
expm1-log1p-u pow-to-exp pow-pow pow-exp add-cbrt-cube log1p-expm1-u unpow2 add-log-exp sqr-pow
Counts
4 → 80
Calls
4 calls:
3.0ms
(pow (cos x) 2)
4.0ms
(pow (cos x) 2)
4.0ms
(pow (sin x) 2)
10.0ms
(pow (sin x) 2)

series104.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(pow (cos x) 2)
26.0ms
(pow (cos x) 2)
24.0ms
(pow (sin x) 2)
28.0ms
(pow (sin x) 2)

simplify3.3s

Counts
92 → 92
Iterations

Useful iterations: 4 (1.2s)

IterNodesCost
068616
1138530
2293466
3807466
43813458
done5000458

prune411.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
0.2b
(fma (tan x) (tan x) 1.0)
0.2b
(- 1.0 (* (tan x) (tan x)))
0.3b
(* (tan x) (tan x))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
76×add-sqr-sqrt
61×add-cube-cbrt *-un-lft-identity
18×associate-/r*
17×add-exp-log
13×difference-of-squares
12×pow1
11×add-cbrt-cube
associate-/r/
div-exp
add-log-exp
flip3-- flip-- div-inv
tan-quot expm1-log1p-u log1p-expm1-u
cbrt-undiv fma-neg swap-sqr associate-*r* associate-*l* prod-diff associate-/l*
rec-exp 1-exp
pow2 frac-times sub-neg pow-flip frac-2neg pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod fma-udef inv-pow unswap-sqr
Counts
4 → 159
Calls
4 calls:
34.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
0.0ms
(fma (tan x) (tan x) 1.0)
6.0ms
(- 1.0 (* (tan x) (tan x)))
15.0ms
(* (tan x) (tan x))

series369.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(/ 1 (/ (fma (tan x) (tan x) 1.0) (- 1.0 (* (tan x) (tan x)))))
60.0ms
(fma (tan x) (tan x) 1.0)
70.0ms
(- 1.0 (* (tan x) (tan x)))
64.0ms
(* (tan x) (tan x))

simplify3.2s

Counts
171 → 171
Iterations

Useful iterations: done (3.2s)

IterNodesCost
02703573
15573211
212702917
336812794
done50002785

prune507.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1 (fma (tan x) (tan x) 1.0)) (- 1.0 (* (tan x) (tan x))))
0.2b
(/ 1 (fma (tan x) (tan x) 1.0))
0.2b
(- 1.0 (* (tan x) (tan x)))
0.3b
(* (tan x) (tan x))

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
29×*-un-lft-identity
28×add-cube-cbrt
20×times-frac
19×add-exp-log
16×associate-*l*
14×pow1
13×add-cbrt-cube
prod-diff
associate-*r*
add-log-exp
distribute-rgt-in distribute-lft-in prod-exp
tan-quot expm1-log1p-u div-exp log1p-expm1-u unswap-sqr
frac-times sub-neg flip3-- fma-neg associate-*r/ swap-sqr associate-/r* flip-- cbrt-unprod associate-/l*
cbrt-undiv rec-exp 1-exp pow-prod-down associate-*l/ *-commutative div-inv difference-of-squares
pow2 pow-flip frac-2neg pow-plus diff-log clear-num pow-sqr pow-prod-up inv-pow
Counts
4 → 136
Calls
4 calls:
56.0ms
(* (/ 1 (fma (tan x) (tan x) 1.0)) (- 1.0 (* (tan x) (tan x))))
12.0ms
(/ 1 (fma (tan x) (tan x) 1.0))
19.0ms
(- 1.0 (* (tan x) (tan x)))
31.0ms
(* (tan x) (tan x))

series403.0ms

Counts
4 → 12
Calls
4 calls:
167.0ms
(* (/ 1 (fma (tan x) (tan x) 1.0)) (- 1.0 (* (tan x) (tan x))))
116.0ms
(/ 1 (fma (tan x) (tan x) 1.0))
69.0ms
(- 1.0 (* (tan x) (tan x)))
51.0ms
(* (tan x) (tan x))

simplify3.1s

Counts
148 → 148
Iterations

Useful iterations: 3 (1.6s)

IterNodesCost
02012346
14522123
212311869
337641810
done50001810

prune462.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.1b

regimes169.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
11216
done1216

end0.0ms

sample4.4s

Algorithm
intervals
Results
2.0s1570×body1280valid
993.0ms4235×body80valid
787.0ms1219×body640valid
283.0ms641×body320valid
183.0ms335×body160valid