Details

Time bar (total: 7.8s)

sample102.0ms

Algorithm
intervals
Results
20.0ms316×body80nan
20.0ms51×body1280valid
13.0ms180×body80valid
10.0ms16×body2560valid
8.0ms28×body640valid
2.0msbody320valid
1.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03210
15510
27610
38910
49210
59210

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 19.1b

localize17.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))))
23.9b
(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)))

series164.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0404507
11689429
25001426

prune339.0ms

Pruning

19 alts after pruning (19 fresh and 0 done)

Merged error: 15.6b

localize26.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sin y) (sin (/ (* z t) 3.0)))
1.1b
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
28.6b
(cos (/ (* z t) 3.0))
28.9b
(sin (/ (* z t) 3.0))

rewrite27.0ms

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

series161.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (sin y) (sin (/ (* z t) 3.0)))
93.0ms
(* (* 2.0 (sqrt x)) (* (sin y) (sin (/ (* z t) 3.0))))
9.0ms
(cos (/ (* z t) 3.0))
15.0ms
(sin (/ (* z t) 3.0))

simplify157.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0224552
1948444
24946442
35001442

prune379.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 15.5b

localize29.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

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

series163.0ms

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

simplify155.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0223552
1947444
24945442
35001442

prune393.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 15.5b

localize37.0ms

Local error

Found 4 expressions with local error:

28.8b
(cos (* 0.3333333333333333 (* t z)))
28.8b
(cos (* 0.3333333333333333 (* t z)))
28.8b
(cos (* 0.3333333333333333 (* t z)))
28.9b
(sin (/ (* z t) 3.0))

rewrite14.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:
4.0ms
(cos (* 0.3333333333333333 (* t z)))
4.0ms
(cos (* 0.3333333333333333 (* t z)))
4.0ms
(cos (* 0.3333333333333333 (* t z)))
1.0ms
(sin (/ (* z t) 3.0))

series44.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
035186
151158
262158
371158
499158
5173158
6692158
72257158
85001158

prune260.0ms

Pruning

24 alts after pruning (24 fresh and 0 done)

Merged error: 15.5b

regimes2.1s

Accuracy

63.5% (1.5b remaining)

Error of 17.9b against oracle of 16.5b and baseline of 20.5b

bsearch3.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05543
15543

end0.0ms

sample3.0s

Algorithm
intervals
Results
640.0ms9287×body80nan
628.0ms1551×body1280valid
356.0ms5626×body80valid
264.0ms397×body2560valid
261.0ms946×body640valid
81.0ms411×body320valid
30.0ms209×body160valid