Details

Time bar (total: 3.4s)

sample57.0ms

Algorithm
intervals
Results
11.0ms214×body80valid
9.0ms19×body1280valid
8.0ms28×body2560valid
4.0ms87×body80nan
2.0ms10×body640valid
1.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

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: 32.9b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.7b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.2b
(- (* b b) (* (* 3.0 a) c))
24.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite27.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)))

series64.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
17.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)))

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0391774
11518684
25001674

prune163.0ms

Filtered
82 candidates to 63 candidates (23.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New711182
Fresh000
Picked101
Done000
Total721183

Merged error: 7.5b

Counts
83 → 11

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 3.0 a) c)
0.7b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.2b
(- (* b b) (* (* 3.0 a) c))
24.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite22.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)
9.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)))

simplify43.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0302468
11299428
25002417

prune132.0ms

Filtered
72 candidates to 52 candidates (27.8%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New71172
Fresh01010
Picked101
Done000
Total721183

Merged error: 7.5b

Counts
83 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (* 3.0 a))
0.7b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.2b
(- (* b b) (* (* 3.0 a) c))
24.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite20.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))
4.0ms
(sqrt (- (* b b) (* (* 3.0 a) c)))

series39.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ 1 (* 3.0 a))
15.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)))

simplify41.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0333489
11378443
25002427

prune122.0ms

Filtered
82 candidates to 54 candidates (34.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New81182
Fresh1910
Picked011
Done000
Total821193

Merged error: 7.5b

Counts
93 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (/ 1 3.0) (/ 1 a))
0.7b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))
1.2b
(- (* b b) (* (* 3.0 a) c))
24.7b
(sqrt (- (* b b) (* (* 3.0 a) c)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
44×add-exp-log add-sqr-sqrt
30×times-frac
29×*-un-lft-identity
19×add-cube-cbrt
16×div-exp prod-exp add-cbrt-cube
13×associate-*r* associate-*l*
10×add-log-exp
pow1 unswap-sqr
rec-exp 1-exp
cbrt-undiv cbrt-unprod
pow-prod-down sqrt-prod
flip3-- pow-flip sqrt-div sum-log flip-- div-inv distribute-lft-out inv-pow
+-commutative neg-sub0 frac-times associate-+l- sub-neg rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r/ neg-log associate-*l/ un-div-inv *-commutative flip-+
Counts
4 → 112
Calls
4 calls:
11.0ms
(* (/ 1 3.0) (/ 1 a))
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)))

series41.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0588757
12366669
25001628

prune140.0ms

Filtered
124 candidates to 80 candidates (35.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1222124
Fresh189
Picked101
Done011
Total12411135

Merged error: 7.5b

Counts
135 → 11

regimes723.0ms

Accuracy

86.1% (3.7b remaining)

Error of 9.8b against oracle of 6.1b and baseline of 32.6b

bsearch74.0ms

Steps
ItersRangePoint
8
3.2772367798370246e-46
8.826811452738637e-44
5.513140388042354e-45
8
-7.483396380019031e+117
-3.515939334884751e+113
-1.0192218364023762e+116

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03917
13917

end0.0ms

sample1.5s

Algorithm
intervals
Results
348.0ms6482×body80valid
252.0ms822×body2560valid
169.0ms663×body1280valid
139.0ms2648×body80nan
71.0ms358×body640valid
35.0ms95×body5120valid
24.0ms162×body320valid
9.0ms88×body160valid

Profiling

Loading profile data...