Details

Time bar (total: 8.2s)

sample94.0ms

Algorithm
intervals
Results
19.0ms49×body1280valid
16.0ms265×body80nan
13.0ms171×body80valid
10.0ms15×body2560valid
7.0ms27×body640valid
2.0ms12×body320valid
1.0msbody160valid

simplify12.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: 22.5b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.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:
4.0ms
(/ (* z t) 3.0)
4.0ms
(/ a (* b 3.0))
6.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
5.0ms
(cos (- y (/ (* z t) 3.0)))

series169.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0404507
11689429
25001426

prune319.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 17.2b

localize25.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.2b
(* (sin y) (sin (/ (* z t) 3.0)))
28.3b
(cos (/ (* z t) 3.0))
28.5b
(sin (/ (* z t) 3.0))

rewrite20.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:
9.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
5.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
2.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series271.0ms

Counts
4 → 12
Calls
4 calls:
199.0ms
(* (* 2.0 (sqrt x)) (+ (* (cos y) (cos (/ (* z t) 3.0))) (* (sin y) (sin (/ (* z t) 3.0)))))
43.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
10.0ms
(cos (/ (* z t) 3.0))
19.0ms
(sin (/ (* z t) 3.0))

simplify56.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0365754
11772643
25001640

prune400.0ms

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 17.1b

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 0.3333333333333333 (* t z))
0.3b
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
28.3b
(cos (/ (* z t) 3.0))
28.9b
(sin (* 0.3333333333333333 (* t z)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*l*
associate-*r* pow-prod-down prod-exp cbrt-unprod add-log-exp
*-commutative
sin-mult unswap-sqr
Counts
4 → 51
Calls
4 calls:
5.0ms
(* 0.3333333333333333 (* t z))
5.0ms
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
2.0ms
(cos (/ (* z t) 3.0))
3.0ms
(sin (* 0.3333333333333333 (* t z)))

series91.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* 0.3333333333333333 (* t z))
42.0ms
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
9.0ms
(cos (/ (* z t) 3.0))
19.0ms
(sin (* 0.3333333333333333 (* t z)))

simplify95.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0171321
1576270
21817270
34307270
45003270

prune379.0ms

Pruning

30 alts after pruning (30 fresh and 0 done)

Merged error: 17.0b

localize30.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
1.7b
(log (exp (* (sin y) (sin (* 0.3333333333333333 (* t z))))))
28.3b
(cos (/ (* z t) 3.0))
28.9b
(sin (* 0.3333333333333333 (* t z)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube
add-log-exp
log-prod associate-*r* associate-*l* log-pow
exp-prod exp-to-pow rem-log-exp pow-prod-down prod-exp *-commutative cbrt-unprod sin-mult unswap-sqr
Counts
4 → 47
Calls
4 calls:
6.0ms
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
3.0ms
(log (exp (* (sin y) (sin (* 0.3333333333333333 (* t z))))))
2.0ms
(cos (/ (* z t) 3.0))
3.0ms
(sin (* 0.3333333333333333 (* t z)))

series115.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (sin y) (sin (* 0.3333333333333333 (* t z))))
42.0ms
(log (exp (* (sin y) (sin (* 0.3333333333333333 (* t z))))))
10.0ms
(cos (/ (* z t) 3.0))
19.0ms
(sin (* 0.3333333333333333 (* t z)))

simplify98.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 5 (93.0ms)

IterNodesCost
0112373
1294318
2628318
31070318
42926318
55001314

prune306.0ms

Pruning

29 alts after pruning (29 fresh and 0 done)

Merged error: 17.0b

regimes2.8s

Accuracy

62.3% (1.6b remaining)

Error of 17.8b against oracle of 16.2b and baseline of 20.4b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06045
16245
26245

end0.0ms

sample2.8s

Algorithm
intervals
Results
576.0ms1505×body1280valid
567.0ms9130×body80nan
340.0ms5687×body80valid
260.0ms985×body640valid
241.0ms368×body2560valid
85.0ms436×body320valid
26.0ms193×body160valid