Details

Time bar (total: 7.5s)

sample111.0ms

Algorithm
intervals
Results
29.0ms47×body1280valid
20.0ms58×body640valid
12.0ms114×body80valid
5.0msbody2560valid
5.0ms22×body320valid
4.0ms80×body80nan
3.0ms11×body640nan
3.0ms49×body80overflowed
2.0msbody1280nan
2.0ms13×body160valid
1.0msbody320nan
1.0msbody160nan

simplify234.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0207
1337
2497
3717
4937
51807
62327
74117
86287
99357
1010287
1113547
1239687
1350027

prune4.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: 24.6b

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

rewrite27.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:
5.0ms
(* y (exp z))
8.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
6.0ms
(+ (- 1.0 y) (* y (exp z)))
6.0ms
(log (+ (- 1.0 y) (* y (exp z))))

series80.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* y (exp z))
50.0ms
(/ (log (+ (- 1.0 y) (* y (exp z)))) t)
11.0ms
(+ (- 1.0 y) (* y (exp z)))
14.0ms
(log (+ (- 1.0 y) (* y (exp z))))

simplify56.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0452795
11740733
25002726

prune190.0ms

Filtered
92 candidates to 68 candidates (26.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New87592
Fresh000
Picked101
Done000
Total88593

Merged error: 5.3b

Counts
93 → 5

localize12.0ms

Local error

Found 2 expressions with local error:

3.1b
(* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))
5.5b
(/ (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))) t)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1
associate-*r* associate-*l* associate-/r* associate-/l*
flip3-+ associate-*r/ flip-+ associate-/l/ add-log-exp
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
2 → 51
Calls
2 calls:
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)

series47.0ms

Counts
2 → 6
Calls
2 calls:
16.0ms
(* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))
31.0ms
(/ (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))) t)

simplify45.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0308605
11387547
25001542

prune229.0ms

Filtered
57 candidates to 45 candidates (21.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New52557
Fresh044
Picked011
Done000
Total521062

Merged error: 5.3b

Counts
62 → 10

localize24.0ms

Local error

Found 3 expressions with local error:

0.5b
(/ 1 (/ t (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z))))))
3.1b
(* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))
5.7b
(/ t (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
59×add-sqr-sqrt
57×add-cube-cbrt *-un-lft-identity
18×add-exp-log associate-/r*
12×add-cbrt-cube
11×associate-/r/
div-exp
pow1 flip3-+ flip-+ div-inv associate-/l*
cbrt-undiv
associate-*r* associate-*l* add-log-exp
rec-exp frac-2neg 1-exp associate-*r/ clear-num
distribute-rgt-in pow-flip distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod inv-pow unswap-sqr
Counts
3 → 135
Calls
3 calls:
7.0ms
(/ 1 (/ t (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z))))))
7.0ms
(* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))
8.0ms
(/ t (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))))

series87.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(/ 1 (/ t (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z))))))
13.0ms
(* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))
44.0ms
(/ t (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))))

simplify84.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06232108
131841929
250011843

prune247.0ms

Filtered
144 candidates to 81 candidates (43.8%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1440144
Fresh088
Picked011
Done011
Total14410154

Merged error: 5.3b

Counts
154 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

3.1b
(* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))
21.5b
(cbrt (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))))
21.5b
(cbrt (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))))
21.5b
(cbrt (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
cbrt-prod add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-div add-cbrt-cube
flip3-+ flip-+ add-log-exp
pow1/3 associate-*r* associate-*l*
associate-*r/
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 61
Calls
4 calls:
7.0ms
(* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))
2.0ms
(cbrt (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))))
2.0ms
(cbrt (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))))
3.0ms
(cbrt (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))))

series151.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))
46.0ms
(cbrt (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))))
45.0ms
(cbrt (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))))
46.0ms
(cbrt (+ (log 1.0) (* y (+ (* 0.5 (pow z 2)) (* 1.0 z)))))

simplify49.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03741161
115461097
250021007

prune479.0ms

Filtered
73 candidates to 58 candidates (20.5%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New73073
Fresh077
Picked011
Done022
Total731083

Merged error: 5.3b

Counts
83 → 10

regimes1.3s

Accuracy

71% (4.6b remaining)

Error of 9.3b against oracle of 4.7b and baseline of 20.5b

bsearch180.0ms

Steps
ItersRangePoint
7
-2.099185052842988e-192
-8.923574605892771e-195
-1.0341348539470992e-192
9
-3.3107726262830282e-56
-5.946363912233483e-65
-1.6801811259133204e-60
9
-4579.616410621801
-0.0182618413943067
-0.01853572616853024

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05935
15935

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.1s1498×body1280valid
673.0ms1570×body640valid
316.0ms3546×body80valid
239.0ms866×body320valid
154.0ms89×body2560valid
146.0ms2444×body80nan
104.0ms1529×body80overflowed
82.0ms454×body160valid
79.0ms250×body640nan
47.0ms97×body1280nan
47.0ms213×body320nan
18.0ms124×body160nan

Profiling

Loading profile data...