Details

Time bar (total: 3.5s)

sample91.0ms

Algorithm
intervals
Results
13.0ms146×body160valid
9.0ms321×pre80true
9.0ms65×body80nan
5.0ms110×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

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

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
0.3b
(- (* b b) (* (* 4.0 a) c))
28.1b
(+ (neg b) (sqrt (- (* b b) (* (* 4.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:
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
11.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
3.0ms
(- (* b b) (* (* 4.0 a) c))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series65.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0396773
11550683
25001673

prune123.0ms

Filtered
82 candidates to 63 candidates (23.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New78482
Fresh000
Picked101
Done000
Total79483

Merged error: 0.4b

Counts
83 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
0.2b
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
0.3b
(- (* b b) (* (* 4.0 a) c))
0.3b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
82×add-sqr-sqrt *-un-lft-identity
38×add-cube-cbrt
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
11×distribute-rgt-neg-in sqrt-prod
10×add-log-exp
associate-/r*
cbrt-undiv div-exp
associate-/r/
flip3-- flip--
pow1 div-inv
diff-log associate-/l/
sub-neg frac-2neg prod-exp clear-num cbrt-unprod
associate--l- neg-sub0 flip3-+ neg-log flip-+
Counts
4 → 151
Calls
4 calls:
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
16.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
3.0ms
(- (* b b) (* (* 4.0 a) c))
12.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series129.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
46.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
9.0ms
(- (* b b) (* (* 4.0 a) c))
60.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify113.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
06432666
132102408
250012396

prune313.0ms

Filtered
163 candidates to 106 candidates (35.0%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New15013163
Fresh303
Picked101
Done000
Total15413167

Merged error: 0.0b

Counts
167 → 13

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* b b) (* (* 4.0 a) c))
0.3b
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3)))))
0.6b
(cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3))
0.7b
(pow (- (* b b) (* (* 4.0 a) c)) 3)

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
70×add-sqr-sqrt
42×*-un-lft-identity
33×times-frac
28×cbrt-prod
26×add-cube-cbrt
24×difference-of-squares
20×sqrt-prod
11×associate-/r*
10×unpow-prod-down cube-prod
distribute-lft-out--
add-exp-log add-cbrt-cube
add-log-exp sqr-pow
pow1
cube-div flip3-- distribute-rgt-neg-in flip--
pow-unpow associate-/l*
cube-mult cbrt-div unpow3 associate-/r/ associate-/l/
cbrt-undiv pow-to-exp sub-neg pow-pow frac-2neg flip3-+ pow1/3 diff-log div-exp pow-exp clear-num rem-cbrt-cube flip-+ div-inv rem-cube-cbrt
Counts
4 → 123
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
18.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3)))))
5.0ms
(cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3))
4.0ms
(pow (- (* b b) (* (* 4.0 a) c)) 3)

series97.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* b b) (* (* 4.0 a) c))
61.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3)))))
9.0ms
(cbrt (pow (- (* b b) (* (* 4.0 a) c)) 3))
20.0ms
(pow (- (* b b) (* (* 4.0 a) c)) 3)

simplify103.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
05311971
127671836
250011796

prune254.0ms

Filtered
135 candidates to 79 candidates (41.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1341135
Fresh11112
Picked101
Done000
Total13612148

Merged error: 0.0b

Counts
148 → 12

localize25.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (- (* b b) (* (* 4.0 a) c)) 3/2)
0.4b
(pow (- (* b b) (* (* 4.0 a) c)) 3/2)
0.5b
(* (pow (- (* b b) (* (* 4.0 a) c)) 3/2) (pow (- (* b b) (* (* 4.0 a) c)) 3/2))
0.6b
(cbrt (* (pow (- (* b b) (* (* 4.0 a) c)) 3/2) (pow (- (* b b) (* (* 4.0 a) c)) 3/2)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×unpow-prod-down
18×add-exp-log
16×add-cube-cbrt *-un-lft-identity
12×sqr-pow
prod-exp unswap-sqr
pow-to-exp pow-exp
swap-sqr associate-*r* associate-*l*
pow1 pow-unpow add-cbrt-cube
add-log-exp
pow-pow
cbrt-prod pow2 pow1/3 pow-prod-down pow-sqr *-commutative pow-prod-up cbrt-unprod
Counts
4 → 95
Calls
4 calls:
4.0ms
(pow (- (* b b) (* (* 4.0 a) c)) 3/2)
4.0ms
(pow (- (* b b) (* (* 4.0 a) c)) 3/2)
12.0ms
(* (pow (- (* b b) (* (* 4.0 a) c)) 3/2) (pow (- (* b b) (* (* 4.0 a) c)) 3/2))
9.0ms
(cbrt (* (pow (- (* b b) (* (* 4.0 a) c)) 3/2) (pow (- (* b b) (* (* 4.0 a) c)) 3/2)))

series75.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(pow (- (* b b) (* (* 4.0 a) c)) 3/2)
24.0ms
(pow (- (* b b) (* (* 4.0 a) c)) 3/2)
20.0ms
(* (pow (- (* b b) (* (* 4.0 a) c)) 3/2) (pow (- (* b b) (* (* 4.0 a) c)) 3/2))
9.0ms
(cbrt (* (pow (- (* b b) (* (* 4.0 a) c)) 3/2) (pow (- (* b b) (* (* 4.0 a) c)) 3/2)))

simplify52.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
02701095
11253896
25002854

prune187.0ms

Filtered
107 candidates to 67 candidates (37.4%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1070107
Fresh01111
Picked011
Done000
Total10712119

Merged error: 0.0b

Counts
119 → 12

regimes258.0ms

Accuracy

0% (0.4b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 0.5b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02921
13121
23121

end0.0ms

sample1.3s

Algorithm
intervals
Results
419.0ms4421×body160valid
288.0ms9900×pre80true
169.0ms3579×body80valid
90.0ms1900×body80nan

Profiling

Loading profile data...