Details

Time bar (total: 3.6s)

sample88.0ms

Algorithm
intervals
Results
18.0ms146×body160valid
10.0ms318×pre80true
5.0ms110×body80valid
3.0ms62×body80nan

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1429
2769
3949
41029
51029

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.2b

Counts
2 → 1

localize10.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))
28.1b
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

rewrite29.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)
11.0ms
(/ (+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))) (* 3.0 a))
7.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))

series55.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0417711
11922611
25001602

prune124.0ms

Filtered
85 candidates to 59 candidates (30.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New79685
Fresh000
Picked101
Done000
Total80686

Merged error: 0.5b

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

rewrite45.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-- flip-- associate-/l/
frac-2neg clear-num *-commutative
flip3-+ flip-+
Counts
4 → 157
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
5.0ms
(* 3.0 (* a c))
12.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
17.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series109.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 3.0 a) c)
5.0ms
(* 3.0 (* a c))
55.0ms
(/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
46.0ms
(/ (/ (+ 0 (* 3.0 (* a c))) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

simplify118.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
06282481
133222152
250022149

prune287.0ms

Filtered
169 candidates to 104 candidates (38.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New15811169
Fresh505
Picked101
Done000
Total16411175

Merged error: 0b

Counts
175 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.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-- flip-- associate-/l/
frac-2neg associate-*l* clear-num *-commutative
flip3-+ flip-+
Counts
4 → 157
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
5.0ms
(* (* 3.0 a) c)
12.0ms
(/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
16.0ms
(/ (/ (+ 0 (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))) (* 3.0 a))

series110.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
05712482
130602153
250032150

prune271.0ms

Filtered
169 candidates to 103 candidates (39.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1672169
Fresh2810
Picked101
Done000
Total17010180

Merged error: 0b

Counts
180 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
157×add-exp-log
97×add-cbrt-cube
76×prod-exp
46×div-exp
44×cbrt-unprod
26×cbrt-undiv
15×add-sqr-sqrt
14×pow1
13×*-un-lft-identity
10×associate-*r*
add-cube-cbrt
rec-exp 1-exp
associate-*l*
times-frac pow-prod-down associate-/r/
frac-times flip3-- associate-*r/ flip-- associate-/l* add-log-exp
div-inv
distribute-rgt-in sub-neg pow-flip frac-2neg distribute-lft-in associate-*l/ clear-num associate-/r* *-commutative distribute-lft-out-- difference-of-squares
distribute-rgt-neg-in sqrt-prod inv-pow unswap-sqr
Counts
4 → 145
Calls
4 calls:
5.0ms
(* (* 3.0 a) c)
19.0ms
(/ 1 (* (/ (* 3.0 a) (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c))))))
17.0ms
(* (/ (* 3.0 a) (* (* 3.0 a) c)) (- (neg b) (sqrt (- (* b b) (* (* 3.0 a) c)))))
7.0ms
(/ (* 3.0 a) (* (* 3.0 a) c))

series80.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
07442045
150011212

prune140.0ms

Filtered
157 candidates to 75 candidates (52.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1534157
Fresh459
Picked101
Done000
Total1589167

Merged error: 0b

Counts
167 → 9

regimes460.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0148
1148

end0.0ms

sample1.3s

Algorithm
intervals
Results
417.0ms4482×body160valid
282.0ms9810×pre80true
177.0ms3518×body80valid
85.0ms1810×body80nan

Profiling

Loading profile data...