Details

Time bar (total: 7.6s)

sample393.0ms

Algorithm
intervals
Results
80.0ms25×body2560valid
33.0ms60×body1280valid
7.0ms29×body640valid
6.0ms147×body80valid
2.0ms16×body320valid
1.0msbody160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1417
2827
31227
41477
51577
61597
71597

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 17.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* PI l)
0.6b
(/ 1.0 (* F F))
4.6b
(* (/ 1.0 (* F F)) (tan (* PI l)))
32.0b
(tan (* PI l))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
17×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
10×associate-*l*
pow1
times-frac
associate-*r* prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
tan-quot associate-/l* unswap-sqr
pow-prod-down *-commutative div-inv
frac-times frac-2neg associate-*r/ associate-*l/ clear-num associate-/r*
Counts
4 → 85
Calls
4 calls:
4.0ms
(* PI l)
5.0ms
(/ 1.0 (* F F))
9.0ms
(* (/ 1.0 (* F F)) (tan (* PI l)))
3.0ms
(tan (* PI l))

series266.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* PI l)
25.0ms
(/ 1.0 (* F F))
139.0ms
(* (/ 1.0 (* F F)) (tan (* PI l)))
82.0ms
(tan (* PI l))

simplify43.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0334468
11442399
25001398

prune275.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 12.6b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(* PI l)
0.3b
(* PI l)
0.3b
(* (/ (sqrt 1.0) F) (tan (* PI l)))
32.0b
(tan (* PI l))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
28×associate-*l*
22×add-cube-cbrt *-un-lft-identity
20×times-frac
13×add-exp-log add-cbrt-cube
10×pow1 sqrt-prod
associate-*r*
unswap-sqr
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
tan-quot pow-prod-down *-commutative
cbrt-undiv frac-times associate-*r/ div-exp associate-*l/ div-inv
Counts
4 → 96
Calls
4 calls:
4.0ms
(* PI l)
4.0ms
(* PI l)
9.0ms
(* (/ (sqrt 1.0) F) (tan (* PI l)))
2.0ms
(tan (* PI l))

series278.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* PI l)
20.0ms
(* PI l)
168.0ms
(* (/ (sqrt 1.0) F) (tan (* PI l)))
65.0ms
(tan (* PI l))

simplify101.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0305522
11082478
24101476
35001475

prune355.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 12.4b

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(* PI l)
0.3b
(* PI l)
31.2b
(cos (* PI l))
31.9b
(sin (* PI l))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 58
Calls
4 calls:
4.0ms
(* PI l)
4.0ms
(* PI l)
2.0ms
(cos (* PI l))
2.0ms
(sin (* PI l))

series86.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* PI l)
19.0ms
(* PI l)
17.0ms
(cos (* PI l))
24.0ms
(sin (* PI l))

simplify113.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0162201
1606181
23058180
35002180

prune274.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 7.6b

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt l)
0.6b
(cbrt l)
31.3b
(cos (* (* PI (* (cbrt l) (cbrt l))) (cbrt l)))
31.9b
(sin (* PI l))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
Counts
4 → 44
Calls
4 calls:
1.0ms
(cbrt l)
1.0ms
(cbrt l)
3.0ms
(cos (* (* PI (* (cbrt l) (cbrt l))) (cbrt l)))
2.0ms
(sin (* PI l))

series420.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(cbrt l)
179.0ms
(cbrt l)
28.0ms
(cos (* (* PI (* (cbrt l) (cbrt l))) (cbrt l)))
27.0ms
(sin (* PI l))

simplify82.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0156247
1513219
22269215
35001210

prune236.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 7.6b

regimes483.0ms

Accuracy

77.3% (1.0b remaining)

Error of 8.9b against oracle of 7.9b and baseline of 12.5b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06255
16255

end0.0ms

sample4.0s

Algorithm
intervals
Results
2.4s817×body2560valid
936.0ms1713×body1280valid
214.0ms879×body640valid
205.0ms4585×body80valid
62.0ms394×body320valid
23.0ms220×body160valid