Details

Time bar (total: 8.1s)

sample104.0ms

Algorithm
intervals
Results
20.0ms310×body80nan
19.0ms51×body1280valid
13.0ms169×body80valid
11.0ms17×body2560valid
10.0ms39×body640valid
2.0msbody320valid
1.0msbody160valid

simplify13.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.4b

localize17.0ms

Local error

Found 4 expressions with local error:

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

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

series167.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0404507
11689429
25001426

prune346.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 18.1b

localize32.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
2.8b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
28.4b
(cos (/ (* z t) 3.0))
28.8b
(sin (/ (* z t) 3.0))

rewrite34.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:
14.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
15.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
1.0ms
(cos (/ (* z t) 3.0))
2.0ms
(sin (/ (* z t) 3.0))

series237.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
97.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
10.0ms
(cos (/ (* z t) 3.0))
17.0ms
(sin (/ (* z t) 3.0))

simplify59.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0351704
11500545
25001540

prune365.0ms

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 17.9b

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
2.8b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (* 0.3333333333333333 (* t z)))))
28.4b
(cos (/ (* z t) 3.0))
28.7b
(sin (* 0.3333333333333333 (* t z)))

rewrite44.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:
14.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
23.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (* 0.3333333333333333 (* t z)))))
1.0ms
(cos (/ (* z t) 3.0))
4.0ms
(sin (* 0.3333333333333333 (* t z)))

series231.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(* (* 2.0 (sqrt x)) (* (cos y) (cos (/ (* z t) 3.0))))
93.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (* 0.3333333333333333 (* t z)))))
13.0ms
(cos (/ (* z t) 3.0))
16.0ms
(sin (* 0.3333333333333333 (* t z)))

simplify50.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0355704
11518545
25002540

prune386.0ms

Pruning

25 alts after pruning (25 fresh and 0 done)

Merged error: 17.9b

localize33.0ms

Local error

Found 4 expressions with local error:

28.4b
(cos (/ (* z t) 3.0))
28.7b
(sin (* 0.3333333333333333 (* t z)))
28.7b
(sin (* 0.3333333333333333 (* t z)))
28.7b
(sin (* 0.3333333333333333 (* t z)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
4 → 28
Calls
4 calls:
1.0ms
(cos (/ (* z t) 3.0))
4.0ms
(sin (* 0.3333333333333333 (* t z)))
4.0ms
(sin (* 0.3333333333333333 (* t z)))
4.0ms
(sin (* 0.3333333333333333 (* t z)))

series254.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(cos (/ (* z t) 3.0))
17.0ms
(sin (* 0.3333333333333333 (* t z)))
16.0ms
(sin (* 0.3333333333333333 (* t z)))
210.0ms
(sin (* 0.3333333333333333 (* t z)))

simplify113.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
035190
149162
261162
370162
498162
5172162
6691162
72256162
85001162

prune242.0ms

Pruning

26 alts after pruning (25 fresh and 1 done)

Merged error: 17.9b

regimes2.4s

Accuracy

62.4% (1.4b remaining)

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

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05644
15844
25844

end0.0ms

sample2.9s

Algorithm
intervals
Results
644.0ms1628×body1280valid
591.0ms9145×body80nan
333.0ms5529×body80valid
260.0ms950×body640valid
248.0ms372×body2560valid
80.0ms402×body320valid
29.0ms192×body160valid