Details

Time bar (total: 5.2s)

sample65.0ms

Algorithm
intervals
Results
15.0ms507×pre80true
14.0ms153×body160valid
11.0ms251×body80nan
5.0ms39×body320valid
3.0ms64×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 42.5b

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* (* 3.0 a) c))
0.3b
(* (* 3.0 a) c)
0.3b
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
38.7b
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite30.0ms

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

series249.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* (* 3.0 a) c))
19.0ms
(* (* 3.0 a) c)
104.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify56.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0419716
11930613
25002608

prune163.0ms

Filtered
85 candidates to 59 candidates (69.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New82385
Fresh000
Picked101
Done000
Total83386

Merged error: 0.3b

Counts
86 → 3

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 3.0 (* a c))
0.3b
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.3b
(* (* 3.0 a) c)
0.4b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt *-un-lft-identity
40×add-cube-cbrt
30×associate-/l*
28×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
14×pow1
10×distribute-rgt-neg-in sqrt-prod
prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp
pow-prod-down associate-/r/
associate-*r* associate-*l* div-inv add-log-exp
flip3-- div-sub flip-- associate-/l/
associate-+l- frac-2neg clear-num *-commutative
flip3-+ flip-+
Counts
4 → 159
Calls
4 calls:
5.0ms
(* 3.0 (* a c))
25.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
5.0ms
(* (* 3.0 a) c)
29.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series327.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* 3.0 (* a c))
164.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
19.0ms
(* (* 3.0 a) c)
125.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify121.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06843100
132962567
250022533

prune421.0ms

Filtered
171 candidates to 107 candidates (62.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1629171
Fresh112
Picked101
Done000
Total16410174

Merged error: 0b

Counts
174 → 10

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.3b
(* (* 3.0 a) c)
0.3b
(* (* 3.0 a) c)
0.4b
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
80×add-sqr-sqrt *-un-lft-identity
40×add-cube-cbrt
30×associate-/l*
28×add-exp-log add-cbrt-cube
20×distribute-lft-out-- difference-of-squares
14×pow1
10×distribute-rgt-neg-in sqrt-prod
prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp
associate-*r* pow-prod-down associate-/r/
div-inv add-log-exp
flip3-- div-sub flip-- associate-/l/
associate-+l- frac-2neg associate-*l* clear-num *-commutative
flip3-+ flip-+
Counts
4 → 159
Calls
4 calls:
26.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
5.0ms
(* (* 3.0 a) c)
5.0ms
(* (* 3.0 a) c)
29.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series328.0ms

Counts
4 → 12
Calls
4 calls:
165.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
19.0ms
(* (* 3.0 a) c)
19.0ms
(* (* 3.0 a) c)
125.0ms
(/ (/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify116.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
06273101
131392568
250012534

prune376.0ms

Filtered
171 candidates to 104 candidates (60.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1701171
Fresh189
Picked101
Done000
Total1729181

Merged error: 0b

Counts
181 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* 3.0 a) c)
0.3b
(* (* 3.0 a) c)
0.3b
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
0.4b
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
28×add-exp-log add-cbrt-cube
19×pow1
13×add-sqr-sqrt *-un-lft-identity associate-*r*
12×prod-exp cbrt-unprod
add-cube-cbrt pow-prod-down
associate-*r/ add-log-exp
cbrt-undiv times-frac div-exp associate-*l* *-commutative associate-/l*
distribute-rgt-in sub-neg flip3-- distribute-lft-in associate-/r/ flip-- associate-/l/ distribute-lft-out-- difference-of-squares
associate-+l- distribute-rgt-neg-in frac-2neg flip3-+ div-sub clear-num associate-/r* sqrt-prod flip-+ div-inv
Counts
4 → 92
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
5.0ms
(* (* 3.0 a) c)
12.0ms
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
28.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

series274.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (* 3.0 a) c)
19.0ms
(* (* 3.0 a) c)
108.0ms
(* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
128.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* (* 3.0 a) c)) (* (* 3.0 a) (- (- b) (sqrt (- (* b b) (* (* 3.0 a) c))))))

simplify103.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
04631135
12768843
25003827

prune211.0ms

Filtered
104 candidates to 65 candidates (62.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1031104
Fresh178
Picked011
Done000
Total1049113

Merged error: 0b

Counts
113 → 9

regimes160.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
02116
12116

end0.0ms

sample1.9s

Algorithm
intervals
Results
471.0ms16318×pre80true
428.0ms4841×body160valid
368.0ms8318×body80nan
183.0ms1427×body320valid
78.0ms1732×body80valid