Details

Time bar (total: 10.2s)

sample100.0ms

Algorithm
intervals
Results
20.0ms273×body80nan
20.0ms50×body1280valid
11.0ms171×body80valid
9.0ms13×body2560valid
7.0ms27×body640valid
3.0ms17×body320valid
1.0msbody160valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03310
15810
28210
39910
410710
510910
610910

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.8b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

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

series187.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ (* z t) 3.0)
21.0ms
(/ a (* b 3.0))
105.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
41.0ms
(cos (- y (/ (* z t) 3.0)))

simplify86.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06851511
123611261
250011258

prune481.0ms

Pruning

23 alts after pruning (23 fresh and 0 done)

Merged error: 16.6b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-cbrt-cube
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
times-frac associate-*r/ associate-*r* pow-prod-down associate-/l*
cbrt-undiv div-exp
distribute-rgt-in frac-2neg distribute-lft-in flip3-+ associate-*l* frac-add clear-num associate-/r* cos-mult *-commutative flip-+ div-inv sin-mult
Counts
4 → 66
Calls
4 calls:
20.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
3.0ms
(/ a (* b 3.0))
1.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series270.0ms

Counts
4 → 12
Calls
4 calls:
220.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
22.0ms
(/ a (* b 3.0))
11.0ms
(cos (/ (* z t) 3.0))
18.0ms
(sin (/ (* z t) 3.0))

simplify68.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0448738
12011624
25001619

prune513.0ms

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 14.7b

localize35.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ a (* b 3.0))
0.3b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (/ (* z t) 3.0)))))
26.4b
(cos (* 0.3333333333333333 (* t z)))
26.4b
(sin (/ (* z t) 3.0))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-cbrt-cube
pow1
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
times-frac associate-*r/ associate-*r* pow-prod-down associate-/l*
cbrt-undiv div-exp
distribute-rgt-in frac-2neg distribute-lft-in flip3-+ associate-*l* frac-add clear-num associate-/r* cos-mult *-commutative flip-+ div-inv sin-mult
Counts
4 → 66
Calls
4 calls:
3.0ms
(/ a (* b 3.0))
27.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (/ (* z t) 3.0)))))
4.0ms
(cos (* 0.3333333333333333 (* t z)))
2.0ms
(sin (/ (* z t) 3.0))

series271.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ a (* b 3.0))
217.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (/ (* z t) 3.0)))))
11.0ms
(cos (* 0.3333333333333333 (* t z)))
18.0ms
(sin (/ (* z t) 3.0))

simplify70.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0452738
12034624
25001619

prune545.0ms

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 14.7b

localize31.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (/ (* z t) 3.0)))))
0.3b
(* (/ 1 b) (/ a 3.0))
26.4b
(cos (* 0.3333333333333333 (* t z)))
26.4b
(sin (/ (* z t) 3.0))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
31×add-exp-log
25×times-frac
21×*-un-lft-identity add-cbrt-cube
19×add-cube-cbrt
16×associate-*r*
14×associate-*l*
11×pow1 prod-exp
div-exp
cbrt-unprod
unswap-sqr
cbrt-undiv expm1-log1p-u associate-*r/ pow-prod-down log1p-expm1-u add-log-exp
rec-exp 1-exp *-commutative div-inv
distribute-rgt-in frac-times distribute-lft-in flip3-+ associate-*l/ frac-add cos-mult flip-+ sin-mult
Counts
4 → 101
Calls
4 calls:
28.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (/ (* z t) 3.0)))))
14.0ms
(* (/ 1 b) (/ a 3.0))
4.0ms
(cos (* 0.3333333333333333 (* t z)))
2.0ms
(sin (/ (* z t) 3.0))

series258.0ms

Counts
4 → 12
Calls
4 calls:
212.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (* 0.3333333333333333 (* t z)))) (* (sin y) (sin (/ (* z t) 3.0)))))
17.0ms
(* (/ 1 b) (/ a 3.0))
11.0ms
(cos (* 0.3333333333333333 (* t z)))
18.0ms
(sin (/ (* z t) 3.0))

simplify93.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
0677951
13196802
25001791

prune608.0ms

Pruning

27 alts after pruning (26 fresh and 1 done)

Merged error: 14.7b

regimes3.4s

Accuracy

42.5% (2.7b remaining)

Error of 18.2b against oracle of 15.5b and baseline of 20.2b

bsearch3.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05657
15857
25857

end0.0ms

sample3.0s

Algorithm
intervals
Results
649.0ms1557×body1280valid
596.0ms9074×body80nan
365.0ms5663×body80valid
264.0ms924×body640valid
254.0ms373×body2560valid
88.0ms430×body320valid
31.0ms195×body160valid