Details

Time bar (total: 5.7s)

sample69.0ms

Algorithm
intervals
Results
14.0ms114×body320valid
14.0ms513×pre80true
11.0ms257×body80nan
8.0ms98×body160valid
3.0ms15×body640valid
1.0ms29×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 52.9b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* (* 3.0 a) c))
0.2b
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
0.2b
(* (* 3.0 a) c)
27.2b
(+ (neg 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:
4.0ms
(- (* b b) (* (* 3.0 a) c))
12.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
5.0ms
(* (* 3.0 a) c)
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series253.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(- (* b b) (* (* 3.0 a) c))
105.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
19.0ms
(* (* 3.0 a) c)
81.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify58.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0419716
11930613
25002608

prune171.0ms

Filtered
85 candidates to 59 candidates (69.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New81485
Fresh000
Picked101
Done000
Total82486

Merged error: 0.1b

Counts
86 → 4

localize18.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))) (- (neg 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))) (- (neg 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)
28.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (neg 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))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series333.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (* 3.0 a) c)
165.0ms
(/ (+ (- (pow b 2) (pow b 2)) (* 3.0 (* a c))) (- (neg 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))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify118.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
06843098
133092567
250012533

prune402.0ms

Filtered
171 candidates to 106 candidates (62.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1647171
Fresh213
Picked011
Done000
Total1669175

Merged error: 0b

Counts
175 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* 3.0 (* a c)) 3.0)
0.3b
(* 3.0 (* a c))
0.3b
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
0.4b
(* (/ (* 3.0 (* a c)) 3.0) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
320×times-frac
238×add-sqr-sqrt
227×*-un-lft-identity
142×add-cube-cbrt
117×add-exp-log
86×associate-*r*
77×add-cbrt-cube
48×div-exp
42×distribute-lft-out-- difference-of-squares
41×prod-exp
28×associate-/l*
27×cbrt-undiv cbrt-unprod
21×distribute-rgt-neg-in sqrt-prod
14×associate-/r/
11×pow1 div-inv
10×associate-*l*
flip3-- flip--
associate-/r*
rec-exp 1-exp
pow-prod-down add-log-exp unswap-sqr
frac-2neg clear-num *-commutative
frac-times associate-*r/ associate-*l/ associate-/l/
Counts
4 → 309
Calls
4 calls:
6.0ms
(/ (* 3.0 (* a c)) 3.0)
5.0ms
(* 3.0 (* a c))
14.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
40.0ms
(* (/ (* 3.0 (* a c)) 3.0) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

series306.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ (* 3.0 (* a c)) 3.0)
19.0ms
(* 3.0 (* a c))
123.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
145.0ms
(* (/ (* 3.0 (* a c)) 3.0) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

simplify77.0ms

Algorithm
egg-herbie
Counts
321 → 321
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
012564904
150014301

prune599.0ms

Filtered
321 candidates to 168 candidates (52.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New3201321
Fresh167
Picked101
Done011
Total3228330

Merged error: 0b

Counts
330 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (* b b) (* (* 3.0 a) c))
0.2b
(* (* 3.0 a) c)
0.3b
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
0.4b
(* (* 1.0 (* a c)) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
309×times-frac
222×add-sqr-sqrt *-un-lft-identity
138×add-cube-cbrt
88×associate-*r*
78×add-exp-log
50×add-cbrt-cube
42×distribute-lft-out-- difference-of-squares
33×prod-exp
27×associate-/l*
24×div-exp
21×distribute-rgt-neg-in sqrt-prod cbrt-unprod
18×pow1
14×associate-/r/
12×cbrt-undiv
pow-prod-down div-inv
flip3-- flip--
add-log-exp
rec-exp 1-exp
associate-/r*
associate-*l* *-commutative
sub-neg frac-2neg diff-log associate-*r/ clear-num associate-/l/
Counts
4 → 280
Calls
4 calls:
4.0ms
(- (* b b) (* (* 3.0 a) c))
5.0ms
(* (* 3.0 a) c)
15.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
32.0ms
(* (* 1.0 (* a c)) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

series336.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* b b) (* (* 3.0 a) c))
24.0ms
(* (* 3.0 a) c)
117.0ms
(/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a)
151.0ms
(* (* 1.0 (* a c)) (/ (/ 1 (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) a))

simplify71.0ms

Algorithm
egg-herbie
Counts
292 → 292
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
012054339
150013860

prune515.0ms

Filtered
292 candidates to 151 candidates (51.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2911292
Fresh156
Picked011
Done011
Total2928300

Merged error: 0b

Counts
300 → 8

regimes112.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02512
12512

end0.0ms

sample2.0s

Algorithm
intervals
Results
458.0ms3590×body320valid
434.0ms15969×pre80true
340.0ms7969×body80nan
259.0ms3014×body160valid
88.0ms501×body640valid
39.0ms895×body80valid

Profiling

Loading profile data...