Details

Time bar (total: 6.4s)

sample108.0ms

Algorithm
intervals
Results
31.0ms58×body10240exit
20.0ms37×body1280valid
15.0ms50×body640valid
7.0ms38×body320valid
7.0ms117×body80valid
4.0msbody2560valid
3.0ms78×body80nan
1.0ms11×body160valid
1.0msbody320nan
1.0msbody640nan
0.0msbody1280nan
0.0msbody160nan

simplify207.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0207
1337
2497
3717
4937
51807
62327
74117
87107
910927
1012387
1115527
1240567
1350017

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 23.2b

Counts
2 → 1

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)
1.5b
(log (+ (- 1.0 y) (* y (exp z))))
2.8b
(+ (- 1.0 y) (* y (exp z)))

rewrite41.0ms

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

series310.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* y (exp z))
168.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
80.0ms
(log (+ (- 1.0 y) (* y (exp z))))
38.0ms
(+ (- 1.0 y) (* y (exp z)))

simplify58.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0449836
11739771
25001764

prune216.0ms

Filtered
101 candidates to 68 candidates (32.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New947101
Fresh000
Picked101
Done000
Total957102

Merged error: 4.4b

Counts
102 → 7

localize12.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))
2.7b
(* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))
5.7b
(/ (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))) t)

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
62×*-un-lft-identity
25×add-sqr-sqrt
24×distribute-lft-out
22×times-frac
19×associate-*l*
18×add-cube-cbrt
15×associate-*r*
14×pow1
add-exp-log log-pow add-cbrt-cube add-log-exp
associate-/l*
distribute-rgt-out unpow2
+-commutative flip3-+ associate-/r* flip-+
distribute-rgt-in distribute-lft-in associate-*r/ associate-/l/ difference-of-squares
cbrt-undiv sub-neg flip3-- frac-2neg 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 → 107
Calls
4 calls:
19.0ms
(+ (* 0.5 (pow z 2)) (* 1.0 z))
35.0ms
(- x (/ (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))) t))
22.0ms
(* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))
30.0ms
(/ (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))) t)

series443.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(+ (* 0.5 (pow z 2)) (* 1.0 z))
138.0ms
(- x (/ (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))) t))
96.0ms
(* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))
136.0ms
(/ (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))) t)

simplify73.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
03981145
116551074
250021064

prune253.0ms

Filtered
119 candidates to 69 candidates (42.0%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1127119
Fresh156
Picked101
Done000
Total11412126

Merged error: 4.3b

Counts
126 → 12

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite61.0ms

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

series119.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0355555
11437525
25001525

prune206.0ms

Filtered
90 candidates to 65 candidates (27.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New85590
Fresh4711
Picked011
Done000
Total8913102

Merged error: 3.6b

Counts
102 → 13

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite47.0ms

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

series114.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0295368
11258338
25001338

prune113.0ms

Filtered
67 candidates to 44 candidates (34.3%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New64367
Fresh2911
Picked011
Done011
Total661480

Merged error: 3.6b

Counts
80 → 14

regimes585.0ms

Accuracy

67.5% (4.1b remaining)

Error of 8.1b against oracle of 3.9b and baseline of 16.6b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02923
12923

end0.0ms

sample3.2s

Algorithm
intervals
Results
797.0ms1566×body10240exit
763.0ms1407×body1280valid
478.0ms1614×body640valid
209.0ms3486×body80valid
178.0ms945×body320valid
110.0ms89×body2560valid
93.0ms2500×body80nan
60.0ms489×body160valid
56.0ms277×body640nan
34.0ms116×body1280nan
25.0ms186×body320nan
10.0ms119×body160nan