Details

Time bar (total: 8.4s)

sample99.0ms

Algorithm
intervals
Results
19.0ms48×body1280valid
18.0ms301×body80nan
14.0ms176×body80valid
11.0ms17×body2560valid
6.0ms23×body640valid
2.0ms10×body320valid
1.0ms10×body160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.7b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.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)))

series154.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ (* z t) 3.0)
17.0ms
(/ a (* b 3.0))
86.0ms
(* (* 2.0 (sqrt x)) (cos (- y (/ (* z t) 3.0))))
35.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

prune344.0ms

Pruning

23 alts after pruning (23 fresh and 0 done)

Merged error: 15.5b

localize34.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
2.3b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
28.8b
(cos (/ (* z t) 3.0))
29.1b
(sin (/ (* z t) 3.0))

rewrite23.0ms

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

series227.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
94.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
9.0ms
(cos (/ (* z t) 3.0))
16.0ms
(sin (/ (* z t) 3.0))

simplify57.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0351704
11500545
25001540

prune390.0ms

Pruning

29 alts after pruning (29 fresh and 0 done)

Merged error: 15.4b

localize31.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (* (cos y) (cos (* 0.3333333333333333 (* t z)))))
2.3b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
28.9b
(cos (* 0.3333333333333333 (* t z)))
29.1b
(sin (/ (* z t) 3.0))

rewrite24.0ms

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

series236.0ms

Counts
4 → 12
Calls
4 calls:
118.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (* 0.3333333333333333 (* t z)))))
90.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
12.0ms
(cos (* 0.3333333333333333 (* t z)))
15.0ms
(sin (/ (* z t) 3.0))

simplify45.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0355704
11526545
25001540

prune382.0ms

Pruning

27 alts after pruning (27 fresh and 0 done)

Merged error: 15.4b

localize30.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (* (cos y) (cos (* 0.3333333333333333 (* t z)))))
2.2b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (* 0.3333333333333333 (* t z)))))
28.7b
(sin (* 0.3333333333333333 (* t z)))
28.9b
(cos (* 0.3333333333333333 (* t z)))

rewrite29.0ms

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

series237.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (* 0.3333333333333333 (* t z)))))
94.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (* 0.3333333333333333 (* t z)))))
17.0ms
(sin (* 0.3333333333333333 (* t z)))
10.0ms
(cos (* 0.3333333333333333 (* t z)))

simplify51.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0341704
11502545
25001540

prune274.0ms

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 15.4b

regimes2.5s

Accuracy

64.4% (1.3b remaining)

Error of 17.8b against oracle of 16.4b and baseline of 20.2b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05644
15844
25844

end0.0ms

sample3.1s

Algorithm
intervals
Results
757.0ms8986×body80nan
668.0ms1607×body1280valid
364.0ms5557×body80valid
273.0ms931×body640valid
251.0ms371×body2560valid
94.0ms426×body320valid
34.0ms200×body160valid