Details

Time bar (total: 18.6s)

sample587.0ms

Algorithm
intervals
Results
252.0ms111×body320valid
58.0ms541×pre80true
29.0ms285×body80nan
24.0ms94×body160valid
7.0ms17×body640valid
3.0ms34×body80valid

simplify195.0ms

Counts
1 → 1
Iterations
IterNodes
done128
5128
4119
386
246
125
014

prune15.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 51.9b

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
0.1b
(- (* b b) (* (* 4.0 a) c))
0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
26.9b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

rewrite215.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
11×add-sqr-sqrt
10×fma-def add-cube-cbrt add-log-exp
add-cbrt-cube add-exp-log
distribute-rgt-neg-in distribute-lft-out
pow1 times-frac associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod
neg-sub0 cbrt-undiv sum-log flip3-+ flip3-- sqrt-div div-exp associate-+l- flip-+ flip-- associate-/l/
+-commutative rem-sqrt-square clear-num associate-/r* neg-mul-1 sub-neg frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub prod-diff neg-log prod-exp cbrt-unprod div-inv
Counts
4 → 90
Calls
4 calls:
18.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
42.0ms
(- (* b b) (* (* 4.0 a) c))
127.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
22.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

series571.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
64.0ms
(- (* b b) (* (* 4.0 a) c))
182.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
215.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))

simplify1.4s

Counts
102 → 102
Iterations
IterNodes
done5000
22113
1452
0167

prune632.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize31.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma c (* 4.0 (- a)) (pow b 2))
0.1b
(- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2))))
0.2b
(/ (/ (+ 0 (* (* c a) 4.0)) (- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2))))) (* 2.0 a))
0.3b
(/ (+ 0 (* (* c a) 4.0)) (- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2)))))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
123×add-sqr-sqrt *-un-lft-identity
90×times-frac
79×add-cube-cbrt
60×prod-diff
41×sqrt-prod
32×distribute-rgt-neg-in
30×associate-/l*
22×distribute-lft-out-- difference-of-squares
21×distribute-lft-neg-in
18×add-cbrt-cube add-exp-log
10×fma-neg
associate-/r* add-log-exp
cbrt-undiv neg-mul-1 div-exp
associate-/r/
expm1-log1p-u pow1 flip3-- log1p-expm1-u div-inv flip--
associate-/l/
clear-num frac-2neg diff-log prod-exp cbrt-unprod
associate--l- neg-sub0 sub-neg flip3-+ neg-log flip-+ fma-udef
Counts
4 → 225
Calls
4 calls:
0.0ms
(fma c (* 4.0 (- a)) (pow b 2))
20.0ms
(- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2))))
55.0ms
(/ (/ (+ 0 (* (* c a) 4.0)) (- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2))))) (* 2.0 a))
35.0ms
(/ (+ 0 (* (* c a) 4.0)) (- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2)))))

series768.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(fma c (* 4.0 (- a)) (pow b 2))
111.0ms
(- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2))))
264.0ms
(/ (/ (+ 0 (* (* c a) 4.0)) (- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2))))) (* 2.0 a))
298.0ms
(/ (+ 0 (* (* c a) 4.0)) (- (- b) (sqrt (fma c (* 4.0 (- a)) (pow b 2)))))

simplify1.9s

Counts
237 → 237
Iterations
IterNodes
done5000
24041
1784
0322

prune1.3s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize30.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ b (sqrt (fma 4.0 (- (* a c)) (pow b 2))))
0.1b
(/ 4.0 (- (+ b (sqrt (fma 4.0 (- (* a c)) (pow b 2))))))
0.1b
(/ (* a c) a)
0.3b
(* (/ (* a c) a) (/ 4.0 (- (+ b (sqrt (fma 4.0 (- (* a c)) (pow b 2)))))))

rewrite176.0ms

Algorithm
rewrite-expression-head
Rules
86×*-un-lft-identity
79×times-frac
61×add-sqr-sqrt
56×add-cube-cbrt
42×associate-*r*
32×add-cbrt-cube add-exp-log
28×distribute-lft-neg-in distribute-rgt-neg-in
15×associate-/r* distribute-lft-out
10×cbrt-undiv div-exp
prod-exp cbrt-unprod
neg-mul-1 associate-*l*
pow1 add-log-exp
expm1-log1p-u associate-/r/ log1p-expm1-u div-inv distribute-neg-frac associate-/l*
fma-def flip3-+ flip-+
clear-num frac-2neg unswap-sqr
frac-times +-commutative sum-log pow-prod-down associate-*l/ associate-*r/ *-commutative
Counts
4 → 184
Calls
4 calls:
11.0ms
(+ b (sqrt (fma 4.0 (- (* a c)) (pow b 2))))
25.0ms
(/ 4.0 (- (+ b (sqrt (fma 4.0 (- (* a c)) (pow b 2))))))
8.0ms
(/ (* a c) a)
119.0ms
(* (/ (* a c) a) (/ 4.0 (- (+ b (sqrt (fma 4.0 (- (* a c)) (pow b 2)))))))

series552.0ms

Counts
4 → 12
Calls
4 calls:
135.0ms
(+ b (sqrt (fma 4.0 (- (* a c)) (pow b 2))))
154.0ms
(/ 4.0 (- (+ b (sqrt (fma 4.0 (- (* a c)) (pow b 2))))))
7.0ms
(/ (* a c) a)
255.0ms
(* (/ (* a c) a) (/ 4.0 (- (+ b (sqrt (fma 4.0 (- (* a c)) (pow b 2)))))))

simplify427.0ms

Counts
196 → 196
Iterations
IterNodes
done5001
1807
0273

prune1.4s

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize44.0ms

Local error

Found 4 expressions with local error:

0.0b
(* a (- (+ b (sqrt (fma 4.0 (- (* c a)) (* b b))))))
0.1b
(fma 4.0 (- (* c a)) (* b b))
0.1b
(+ b (sqrt (fma 4.0 (- (* c a)) (* b b))))
0.3b
(/ (* (* c a) 4.0) (* a (- (+ b (sqrt (fma 4.0 (- (* c a)) (* b b)))))))

rewrite375.0ms

Algorithm
rewrite-expression-head
Rules
27×add-cbrt-cube add-exp-log
15×*-un-lft-identity
12×associate-*r*
11×add-sqr-sqrt
10×prod-exp cbrt-unprod
add-cube-cbrt
pow1 cbrt-undiv div-exp add-log-exp
distribute-lft-neg-in expm1-log1p-u distribute-rgt-neg-in associate-*r/ log1p-expm1-u distribute-neg-frac
fma-def flip3-+ associate-*l* flip-+ distribute-lft-out
distribute-neg-in associate-/r/
distribute-rgt-in +-commutative clear-num associate-/r* neg-mul-1 sum-log frac-2neg distribute-lft-in times-frac pow-prod-down *-commutative distribute-rgt-neg-out fma-udef div-inv associate-/l* unswap-sqr
Counts
4 → 90
Calls
4 calls:
329.0ms
(* a (- (+ b (sqrt (fma 4.0 (- (* c a)) (* b b))))))
0.0ms
(fma 4.0 (- (* c a)) (* b b))
6.0ms
(+ b (sqrt (fma 4.0 (- (* c a)) (* b b))))
36.0ms
(/ (* (* c a) 4.0) (* a (- (+ b (sqrt (fma 4.0 (- (* c a)) (* b b)))))))

series686.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(* a (- (+ b (sqrt (fma 4.0 (- (* c a)) (* b b))))))
110.0ms
(fma 4.0 (- (* c a)) (* b b))
132.0ms
(+ b (sqrt (fma 4.0 (- (* c a)) (* b b))))
294.0ms
(/ (* (* c a) 4.0) (* a (- (+ b (sqrt (fma 4.0 (- (* c a)) (* b b)))))))

simplify1.7s

Counts
102 → 102
Iterations
IterNodes
done5001
23384
1533
0178

prune653.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes253.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify10.0ms

Iterations
IterNodes
done53
353
250
135
020

end0.0ms

sample4.6s

Algorithm
intervals
Results
1.2s16178×pre80true
968.0ms3696×body320valid
723.0ms8178×body80nan
583.0ms2870×body160valid
191.0ms525×body640valid
164.0ms909×body80valid