Details

Time bar (total: 6.2s)

sample107.0ms

Algorithm
intervals
Results
28.0ms52×body1280valid
22.0ms45×body10240exit
14.0ms50×body640valid
9.0ms117×body80valid
6.0msbody2560valid
5.0ms25×body320valid
3.0ms77×body80nan
1.0msbody640nan
1.0ms10×body160valid
1.0msbody320nan
0.0msbody1280nan
0.0msbody160nan

simplify202.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0207
1337
2497
3717
4937
51807
62327
74117
87107
910927
1012407
1115587
1241917
1350017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.6b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (exp z))
0.0b
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
0.9b
(log (+ (- 1.0 y) (* y (exp z))))
2.7b
(+ (- 1.0 y) (* y (exp z)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
16×add-cube-cbrt *-un-lft-identity
12×times-frac
11×pow1
add-log-exp
add-exp-log add-cbrt-cube
log-pow
log-div associate-/l*
log-prod flip3-+ associate-*r* associate-*l* associate-/r* flip-+
associate-+l+ div-sub sum-log
cbrt-undiv +-commutative associate-+l- sub-neg frac-2neg diff-log div-exp rem-log-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 80
Calls
4 calls:
9.0ms
(* y (exp z))
13.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
5.0ms
(log (+ (- 1.0 y) (* y (exp z))))
6.0ms
(+ (- 1.0 y) (* y (exp z)))

series318.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* y (exp z))
163.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
74.0ms
(log (+ (- 1.0 y) (* y (exp z))))
61.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify50.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0452795
11740733
25001726

prune265.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 4.4b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 0.5 (pow z 2)) (* 1.0 z))
0.0b
(- x (/ (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))) t))
4.5b
(* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))
5.8b
(/ (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))) t)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
16×*-un-lft-identity
14×add-cube-cbrt
10×times-frac
add-exp-log add-cbrt-cube add-log-exp
pow1
flip3-+ associate-*r* associate-*l* associate-/r* flip-+ associate-/l*
associate-*r/ associate-/l/ difference-of-squares
cbrt-undiv +-commutative distribute-rgt-in sub-neg flip3-- frac-2neg distribute-lft-in diff-log div-exp pow-prod-down prod-exp clear-num sum-log *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 77
Calls
4 calls:
4.0ms
(+ (* 0.5 (pow z 2)) (* 1.0 z))
8.0ms
(- x (/ (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))) t))
7.0ms
(* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))
6.0ms
(/ (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))) t)

series387.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(+ (* 0.5 (pow z 2)) (* 1.0 z))
122.0ms
(- x (/ (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))) t))
82.0ms
(* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))
117.0ms
(/ (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))) t)

simplify53.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0402953
11641882
25001876

prune297.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.3b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(- x (+ (* 1.0 (/ (* z y) t)) (/ (log 1.0) t)))
5.5b
(/ (* z y) t)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube add-log-exp
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
times-frac associate-/r*
pow1 cbrt-undiv diff-log div-exp
sub-neg flip3-- frac-2neg prod-exp clear-num sum-log flip-- cbrt-unprod div-inv associate-/l* associate--r+ distribute-lft-out-- difference-of-squares
Counts
2 → 37
Calls
2 calls:
10.0ms
(- x (+ (* 1.0 (/ (* z y) t)) (/ (log 1.0) t)))
4.0ms
(/ (* z y) t)

series101.0ms

Counts
2 → 6
Calls
2 calls:
83.0ms
(- x (+ (* 1.0 (/ (* z y) t)) (/ (log 1.0) t)))
19.0ms
(/ (* z y) t)

simplify83.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0204286
1812256
23760256
35001256

prune124.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 3.5b

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(- x (+ (* 1.0 (/ z (/ t y))) (/ (log 1.0) t)))
3.6b
(/ z (/ t y))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
46×add-sqr-sqrt *-un-lft-identity
44×add-cube-cbrt
13×associate-/r*
add-exp-log add-cbrt-cube add-log-exp
div-inv
cbrt-undiv div-exp associate-/l*
pow1 diff-log
sub-neg flip3-- frac-2neg clear-num sum-log associate-/r/ flip-- associate--r+ distribute-lft-out-- difference-of-squares
Counts
2 → 86
Calls
2 calls:
12.0ms
(- x (+ (* 1.0 (/ z (/ t y))) (/ (log 1.0) t)))
6.0ms
(/ z (/ t y))

series133.0ms

Counts
2 → 6
Calls
2 calls:
112.0ms
(- x (+ (* 1.0 (/ z (/ t y))) (/ (log 1.0) t)))
21.0ms
(/ z (/ t y))

simplify47.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0431653
11704618
25001617

prune266.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 3.5b

regimes381.0ms

Accuracy

68.3% (4.1b remaining)

Error of 7.8b against oracle of 3.8b and baseline of 16.6b

bsearch72.0ms

Steps
ItersRangePoint
9
-6.5683629049692506e-15
-6.468064663008395e-20
-1.3525978244617489e-15

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03123
13123

end0.0ms

sample3.2s

Algorithm
intervals
Results
776.0ms1469×body1280valid
771.0ms1574×body10240exit
460.0ms1581×body640valid
208.0ms3513×body80valid
165.0ms901×body320valid
120.0ms95×body2560valid
92.0ms2488×body80nan
51.0ms261×body640nan
51.0ms460×body160valid
30.0ms184×body320nan
29.0ms101×body1280nan
9.0ms111×body160nan