Details

Time bar (total: 4.2s)

sample77.0ms

Algorithm
intervals
Results
16.0ms540×pre80true
15.0ms146×body160valid
15.0ms284×body80nan
6.0ms110×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
08816
18816

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 29.9b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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))
6.0ms
(* (* 3.0 a) c)
13.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series60.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(- (* b b) (* (* 3.0 a) c))
4.0ms
(* (* 3.0 a) c)
28.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
16.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

simplify33.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
050051123

prune137.0ms

Filtered
59 candidates to 85 candidates (-44.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New79685
Fresh000
Picked101
Done000
Total80686

Merged error: 0.4b

Counts
86 → 6

localize15.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 c)) 0) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))))
0.4b
(/ (/ (+ (* 3.0 (* a c)) 0) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))

rewrite58.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-*l* pow-prod-down associate-/r/
div-inv add-log-exp
flip3-- flip-- associate-/l/
frac-2neg associate-*r* clear-num *-commutative
flip3-+ flip-+
Counts
4 → 157
Calls
4 calls:
5.0ms
(* 3.0 (* a c))
6.0ms
(* 3.0 (* a c))
16.0ms
(/ (+ (* 3.0 (* a c)) 0) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))))
22.0ms
(/ (/ (+ (* 3.0 (* a c)) 0) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))

series122.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* 3.0 (* a c))
4.0ms
(* 3.0 (* a c))
66.0ms
(/ (+ (* 3.0 (* a c)) 0) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))))
48.0ms
(/ (/ (+ (* 3.0 (* a c)) 0) (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))) (* 3.0 a))

simplify53.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049043674
149043674

prune295.0ms

Filtered
103 candidates to 169 candidates (-64.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New15910169
Fresh505
Picked101
Done000
Total16510175

Merged error: 0b

Counts
175 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
189×times-frac
99×add-sqr-sqrt *-un-lft-identity
62×add-exp-log add-cbrt-cube
51×add-cube-cbrt
31×associate-/l*
28×cbrt-undiv div-exp
26×associate-/r*
24×distribute-lft-out-- difference-of-squares
14×prod-exp cbrt-unprod
12×distribute-rgt-neg-in sqrt-prod
pow1
div-inv
add-log-exp
distribute-frac-neg associate-*l* pow-prod-down associate-/r/
frac-2neg clear-num distribute-rgt-neg-out
sub-neg flip3-- diff-log associate-*r* *-commutative flip-- associate-/l/
Counts
4 → 194
Calls
4 calls:
4.0ms
(- (* b b) (* 3.0 (* a c)))
6.0ms
(* 3.0 (* a c))
24.0ms
(/ (/ (* 3.0 (neg a)) (/ (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))) c)) (* 3.0 (neg a)))
16.0ms
(/ (* 3.0 (neg a)) (/ (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))) c))

series133.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(- (* b b) (* 3.0 (* a c)))
4.0ms
(* 3.0 (* a c))
50.0ms
(/ (/ (* 3.0 (neg a)) (/ (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))) c)) (* 3.0 (neg a)))
70.0ms
(/ (* 3.0 (neg a)) (/ (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))) c))

simplify54.0ms

Algorithm
egg-herbie
Counts
206 → 206
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
050474203

prune289.0ms

Filtered
121 candidates to 206 candidates (-70.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2042206
Fresh459
Picked011
Done000
Total2088216

Merged error: 0b

Counts
216 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

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

series86.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(- (neg b) (sqrt (- (* b b) (* 3.0 (* a c)))))
55.0ms
(/ c (- (neg b) (sqrt (- (* b b) (* 3.0 (* a c))))))
10.0ms
(- (* b b) (* 3.0 (* a c)))
4.0ms
(* 3.0 (* a c))

simplify47.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
049791674
149791674

prune126.0ms

Filtered
67 candidates to 105 candidates (-56.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1050105
Fresh066
Picked011
Done011
Total1058113

Merged error: 0b

Counts
113 → 8

regimes197.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01815
11815

end0.0ms

sample2.3s

Algorithm
intervals
Results
493.0ms16481×pre80true
483.0ms4544×body160valid
451.0ms8481×body80nan
185.0ms3456×body80valid

Profiling

Loading profile data...