Details

Time bar (total: 3.8s)

analyze268.0ms

Algorithm
search

sample50.0ms

Algorithm
intervals
Results
16.0ms111×body320valid
9.0ms99×body160valid
8.0ms284×pre80true
3.0ms17×body640valid
1.0ms29×body80valid
1.0ms28×body80nan

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0249
1459
2799
3979
41059
51059

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 52.8b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.1b
(- (* b b) (* (* 4.0 a) c))
0.1b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
25.9b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))

rewrite28.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)))
4.0ms
(- (* b b) (* (* 4.0 a) c))
12.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series68.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
12.0ms
(- (* b b) (* (* 4.0 a) c))
26.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
16.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

prune120.0ms

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New80282
Fresh000
Picked101
Done000
Total81283

Merged error: 0.1b

Counts
83 → 2

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt
79×*-un-lft-identity
39×add-cube-cbrt
30×associate-/l*
20×distribute-lft-out-- difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-rgt-neg-in
associate-/r*
cbrt-undiv div-exp
associate-/r/ add-log-exp
pow1 flip3-- flip--
div-inv
associate-/l/
frac-2neg sqrt-div prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 148
Calls
4 calls:
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(- (* b b) (* (* 4.0 a) c))
19.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
12.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series128.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
9.0ms
(- (* b b) (* (* 4.0 a) c))
47.0ms
(/ (/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))) (* 2.0 a))
58.0ms
(/ (+ 0 (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify114.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06372580
131912340
250012327

prune290.0ms

Filtered
106 candidates to 160 candidates (-50.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1546160
Fresh011
Picked101
Done000
Total1557162

Merged error: 0b

Counts
162 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.1b
(- (* b b) (* (* 4.0 a) c))
0.1b
(* a (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.3b
(/ (* 4.0 (* a c)) (* a (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
27×add-exp-log add-cbrt-cube
14×add-sqr-sqrt
11×*-un-lft-identity
10×prod-exp cbrt-unprod
pow1 add-cube-cbrt associate-*r*
cbrt-undiv div-exp add-log-exp
flip3-- associate-*r/ sqrt-prod flip--
sub-neg associate-*l*
distribute-rgt-in distribute-lft-in sqrt-div associate-/r/ distribute-lft-out-- difference-of-squares
rem-sqrt-square distribute-rgt-neg-in frac-2neg sqrt-pow1 times-frac pow1/2 diff-log pow-prod-down clear-num associate-/r* *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 82
Calls
4 calls:
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(- (* b b) (* (* 4.0 a) c))
13.0ms
(* a (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
14.0ms
(/ (* 4.0 (* a c)) (* a (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))

series97.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
11.0ms
(- (* b b) (* (* 4.0 a) c))
27.0ms
(* a (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
44.0ms
(/ (* 4.0 (* a c)) (* a (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))

simplify88.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
04971020
13234803
25002795

prune144.0ms

Filtered
62 candidates to 94 candidates (-51.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New93194
Fresh156
Picked011
Done000
Total947101

Merged error: 0b

Counts
101 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* (* 4.0 a) c))
0.2b
(/ 1 (* (/ (* 2.0 a) (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
0.2b
(/ (* 2.0 a) (* 4.0 (* a c)))
0.3b
(* (/ (* 2.0 a) (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
152×add-exp-log
92×add-cbrt-cube
73×prod-exp
46×div-exp
41×cbrt-unprod
26×cbrt-undiv
14×add-sqr-sqrt
12×*-un-lft-identity
pow1
add-cube-cbrt rec-exp 1-exp
associate-*r*
add-log-exp
flip3-- times-frac associate-*l* associate-/r/ flip--
frac-times associate-*r/ associate-/l*
sub-neg div-inv
distribute-rgt-in pow-flip frac-2neg distribute-lft-in pow-prod-down associate-*l/ clear-num associate-/r* distribute-lft-out-- difference-of-squares
distribute-rgt-neg-in diff-log sqrt-prod *-commutative inv-pow unswap-sqr
Counts
4 → 139
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
17.0ms
(/ 1 (* (/ (* 2.0 a) (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
7.0ms
(/ (* 2.0 a) (* 4.0 (* a c)))
17.0ms
(* (/ (* 2.0 a) (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

series84.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 4.0 a) c))
44.0ms
(/ 1 (* (/ (* 2.0 a) (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
2.0ms
(/ (* 2.0 a) (* 4.0 (* a c)))
29.0ms
(* (/ (* 2.0 a) (* 4.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c)))))

simplify40.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08162127
150011586

prune141.0ms

Filtered
72 candidates to 151 candidates (-109.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1501151
Fresh145
Picked101
Done011
Total1526158

Merged error: 0b

Counts
158 → 6

regimes170.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02713
12713

end0.0ms

analyze266.0ms

Algorithm
search

sample1.5s

Algorithm
intervals
Results
527.0ms3675×body320valid
280.0ms2906×body160valid
265.0ms8872×pre80true
103.0ms540×body640valid
45.0ms872×body80nan
44.0ms879×body80valid

Profiling

Loading profile data...