Details

Time bar (total: 4.7s)

sample35.0ms

Algorithm
intervals
Results
15.0ms276×body80valid
5.0ms99×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 22.5b

localize118.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* (* 4.0 a) c))
1.2b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
25.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt sqrt-prod
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip--
rem-sqrt-square sqrt-pow1 pow1/2 sum-log distribute-lft-out
+-commutative neg-sub0 associate-+l- sub-neg distribute-rgt-neg-in flip3-+ diff-log neg-log flip-+
Counts
4 → 57
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series278.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- (* b b) (* (* 4.0 a) c))
77.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
77.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify120.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
0236533
1919501
23961487
35001484

prune281.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 7.8b

localize119.0ms

Local error

Found 4 expressions with local error:

7.2b
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
25.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log flip3-- add-cbrt-cube flip--
rem-sqrt-square sqrt-pow1 pow1/2
diff-log
associate--l- neg-sub0 sub-neg neg-log difference-of-squares
Counts
4 → 60
Calls
4 calls:
6.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series290.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
67.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify107.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0225725
1835631
23414609
35001589

prune320.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 7.8b

localize116.0ms

Local error

Found 4 expressions with local error:

13.6b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
25.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
sum-log
+-commutative neg-sub0 associate-+l- flip3-+ neg-log flip-+
Counts
4 → 58
Calls
4 calls:
5.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series306.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
75.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify114.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
0232680
1883574
23567559
35001555

prune310.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 7.8b

localize120.0ms

Local error

Found 4 expressions with local error:

1.2b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.0b
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
6.8b
(/ (* a c) b)
25.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
14×add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt times-frac associate-/r*
add-log-exp
pow1
cbrt-undiv div-exp distribute-lft-out--
distribute-rgt-neg-in sqrt-prod
flip3-- frac-2neg sqrt-div prod-exp clear-num sum-log associate-/r/ flip-- cbrt-unprod div-inv distribute-lft-out associate-/l* difference-of-squares
+-commutative neg-sub0 associate-+l- rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 neg-log flip-+
Counts
4 → 80
Calls
4 calls:
11.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
3.0ms
(/ (* a c) b)
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series352.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
180.0ms
(/ (* 2.0 c) (- (- b) (- b (* 2.0 (/ (* a c) b)))))
19.0ms
(/ (* a c) b)
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0454718
12113629
25001621

prune314.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 6.8b

regimes199.0ms

Accuracy

93.8% (0.8b remaining)

Error of 7.6b against oracle of 6.7b and baseline of 20.1b

bsearch117.0ms

Steps
ItersRangePoint
7
6.714891876596302e+121
1.686395921989292e+123
4.402171051432718e+122
4
-1.078360482931843e+145
-7.501243017467935e+144
-1.0065588182976136e+145

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05964
15964

end0.0ms

sample867.0ms

Algorithm
intervals
Results
464.0ms8757×body80valid
144.0ms2938×body80nan