Details

Time bar (total: 8.6s)

sample104.0ms

Algorithm
intervals
Results
27.0ms61×body1280valid
19.0ms300×body80nan
10.0ms175×body80valid
7.0ms26×body640valid
6.0ms10×body2560valid
3.0ms15×body320valid
1.0msbody160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ a (* b 3.0))
0.2b
(/ (* z t) 3.0)
0.2b
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
25.6b
(cos (- y (/ (* z t) 3.0)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
pow1 add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
prod-exp cbrt-unprod
cbrt-undiv div-exp associate-/r* associate-/l* add-log-exp
cos-diff associate-*r* pow-prod-down
cos-sum frac-2neg clear-num div-inv
distribute-rgt-in sub-neg distribute-lft-in associate-*l* *-commutative
Counts
4 → 72
Calls
4 calls:
3.0ms
(/ a (* b 3.0))
3.0ms
(/ (* z t) 3.0)
11.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
8.0ms
(cos (- y (/ (* z t) 3.0)))

series168.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/ a (* b 3.0))
17.0ms
(/ (* z t) 3.0)
94.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
39.0ms
(cos (- y (/ (* z t) 3.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0404507
11689429
25001426

prune333.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 16.5b

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin y) (sin (/ (* z t) 3.0)))
0.3b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
29.3b
(cos (/ (* z t) 3.0))
29.3b
(sin (/ (* z t) 3.0))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*r*
associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
associate-*r/
*-commutative sin-mult
distribute-rgt-in distribute-lft-in flip3-+ frac-add cos-mult flip-+ unswap-sqr
Counts
4 → 56
Calls
4 calls:
5.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
18.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
1.0ms
(cos (/ (* z t) 3.0))
1.0ms
(sin (/ (* z t) 3.0))

series280.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
203.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
15.0ms
(cos (/ (* z t) 3.0))
16.0ms
(sin (/ (* z t) 3.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0365754
11772643
25001640

prune385.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 16.2b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* z t) 3.0)
0.2b
(/ a (* b 3.0))
0.2b
(* (sin y) (sin (/ (* z t) 3.0)))
29.3b
(sin (/ (* z t) 3.0))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
16×add-exp-log add-cbrt-cube
12×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
pow1 times-frac
cbrt-undiv div-exp associate-/r* associate-/l* add-log-exp
associate-*r* associate-*l* prod-exp cbrt-unprod
frac-2neg clear-num div-inv
pow-prod-down *-commutative sin-mult unswap-sqr
Counts
4 → 68
Calls
4 calls:
3.0ms
(/ (* z t) 3.0)
3.0ms
(/ a (* b 3.0))
5.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
1.0ms
(sin (/ (* z t) 3.0))

series98.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(/ (* z t) 3.0)
21.0ms
(/ a (* b 3.0))
43.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
16.0ms
(sin (/ (* z t) 3.0))

simplify87.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0286375
11127316
24572316
35002316

prune445.0ms

Pruning

28 alts after pruning (28 fresh and 0 done)

Merged error: 13.9b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* (* 2.0 (sqrt x)) (+ (* (cos y) 1) 0)) (/ a (* b 3.0)))
0.1b
(* (* 2.0 (sqrt x)) (+ (* (cos y) 1) 0))
0.2b
(/ a (* b 3.0))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
13×add-exp-log add-cbrt-cube
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*r/ prod-exp cbrt-unprod
times-frac associate-*r* pow-prod-down associate-/l*
cbrt-undiv distribute-rgt-in distribute-lft-in flip3-+ div-exp associate--l+ frac-sub flip-+
sub-neg flip3-- frac-2neg diff-log associate-*l* clear-num associate-/r* *-commutative flip-- div-inv
Counts
3 → 59
Calls
3 calls:
15.0ms
(- (* (* 2.0 (sqrt x)) (+ (* (cos y) 1) 0)) (/ a (* b 3.0)))
15.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) 1) 0))
6.0ms
(/ a (* b 3.0))

series203.0ms

Counts
3 → 9
Calls
3 calls:
113.0ms
(- (* (* 2.0 (sqrt x)) (+ (* (cos y) 1) 0)) (/ a (* b 3.0)))
71.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) 1) 0))
19.0ms
(/ a (* b 3.0))

simplify118.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (112.0ms)

IterNodesCost
0465524
12394432
25001430

prune206.0ms

Pruning

32 alts after pruning (32 fresh and 0 done)

Merged error: 13.8b

regimes2.9s

Accuracy

0% (2.2b remaining)

Error of 17.1b against oracle of 14.9b and baseline of 17.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0229
1269
2269

end0.0ms

sample2.9s

Algorithm
intervals
Results
616.0ms1595×body1280valid
598.0ms9052×body80nan
345.0ms5611×body80valid
263.0ms403×body2560valid
258.0ms960×body640valid
76.0ms398×body320valid
28.0ms182×body160valid