Details

Time bar (total: 3.6s)

sample58.0ms

Algorithm
intervals
Results
14.0ms191×body80valid
8.0ms24×body2560valid
7.0ms27×body1280valid
6.0ms106×body80nan
3.0ms15×body640valid
2.0ms11×body320valid
1.0msbody5120valid
0.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.9b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.6b
(- (* b b) (* (* 3.0 a) c))
20.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
distribute-lft-out
pow1 times-frac associate-/l*
distribute-rgt-neg-in sqrt-prod
cbrt-undiv neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div div-exp sum-log flip-- flip-+ associate-/l/
+-commutative sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 70
Calls
4 calls:
11.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.0ms
(- (* b b) (* (* 3.0 a) c))
3.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series63.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
14.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
10.0ms
(- (* b b) (* (* 3.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0391774
11518684
25001674

prune170.0ms

Filtered
63 candidates to 82 candidates (-30.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New711182
Fresh000
Picked101
Done000
Total721183

Merged error: 4.6b

Counts
83 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* 3.0 a) c)
1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.6b
(- (* b b) (* (* 3.0 a) c))
20.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 *-un-lft-identity add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 diff-log associate-*l* neg-log *-commutative flip-+
Counts
4 → 60
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
4.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series40.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 3.0 a) c)
14.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
8.0ms
(- (* b b) (* (* 3.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0302468
11299428
25002417

prune127.0ms

Filtered
52 candidates to 72 candidates (-38.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New70272
Fresh1910
Picked101
Done000
Total721183

Merged error: 4.4b

Counts
83 → 11

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* 3.0 (* a c))
1.0b
(+ (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))
1.6b
(- (* b b) (* 3.0 (* a c)))
20.7b
(sqrt (- (* b b) (* 3.0 (* a c))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 *-un-lft-identity add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*l* pow-prod-down prod-exp sqrt-prod cbrt-unprod
flip3-- sqrt-div sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r* neg-log *-commutative flip-+
Counts
4 → 60
Calls
4 calls:
5.0ms
(* 3.0 (* a c))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))
3.0ms
(- (* b b) (* 3.0 (* a c)))
4.0ms
(sqrt (- (* b b) (* 3.0 (* a c))))

series40.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 3.0 (* a c))
14.0ms
(+ (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))
8.0ms
(- (* b b) (* 3.0 (* a c)))
14.0ms
(sqrt (- (* b b) (* 3.0 (* a c))))

simplify129.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (121.0ms)

IterNodesCost
0292467
11079427
24710416
35001415

prune116.0ms

Filtered
50 candidates to 72 candidates (-44.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New72072
Fresh01010
Picked011
Done000
Total721183

Merged error: 4.4b

Counts
83 → 11

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ 1 (* 3.0 a))
1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.6b
(- (* b b) (* (* 3.0 a) c))
20.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
15×add-exp-log
11×*-un-lft-identity
10×add-log-exp
add-cbrt-cube
pow1 add-sqr-sqrt
add-cube-cbrt
div-exp
times-frac prod-exp sqrt-prod associate-/l*
cbrt-undiv rec-exp flip3-- pow-flip sqrt-div 1-exp sum-log flip-- distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg rem-sqrt-square distribute-rgt-neg-in frac-2neg sqrt-pow1 flip3-+ pow1/2 diff-log pow-prod-down neg-log clear-num associate-/r* cbrt-unprod flip-+ div-inv inv-pow
Counts
4 → 70
Calls
4 calls:
4.0ms
(/ 1 (* 3.0 a))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
3.0ms
(- (* b b) (* (* 3.0 a) c))
3.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series38.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ 1 (* 3.0 a))
14.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
8.0ms
(- (* b b) (* (* 3.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

simplify40.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0333489
11378443
25002427

prune94.0ms

Filtered
54 candidates to 82 candidates (-51.9%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New80282
Fresh279
Picked011
Done011
Total821193

Merged error: 4.4b

Counts
93 → 11

regimes675.0ms

Accuracy

86.1% (3.9b remaining)

Error of 9.3b against oracle of 5.4b and baseline of 33.7b

bsearch111.0ms

Steps
ItersRangePoint
9
1.4207218227508602e+125
1.7687561556963888e+130
6.126240493567788e+125
7
3.401319575465327e-151
3.421882355712698e-149
3.055688900930523e-150
10
-3.692428373978256e+65
-2.9514001404867553e+50
-6.741241628846222e+60

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04929
15129
25129

end0.0ms

sample1.7s

Algorithm
intervals
Results
349.0ms1064×body2560valid
331.0ms5894×body80valid
233.0ms887×body1280valid
150.0ms2829×body80nan
101.0ms444×body640valid
38.0ms99×body5120valid
33.0ms212×body320valid
12.0ms117×body160valid

Profiling

Loading profile data...