Details

Time bar (total: 29.5s)

sample123.0ms

Algorithm
intervals
Results
31.0ms137×body160valid
28.0ms518×pre80true
27.0ms262×body80nan
13.0ms119×body80valid

simplify107.0ms

Counts
1 → 1
Iterations
IterNodes
done102
7102
6101
599
491
373
241
122
012

prune13.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 28.4b

localize28.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (fma -3 (* c a) (* b b)))
0.2b
(fma -3 (* c a) (* b b))
0.4b
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
28.3b
(- (sqrt (fma -3 (* c a) (* b b))) b)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
27×*-un-lft-identity
21×add-cube-cbrt
18×prod-diff sqrt-prod
add-cbrt-cube add-exp-log
times-frac fma-neg associate-/l* add-log-exp difference-of-squares
pow1
expm1-log1p-u insert-posit16 log1p-expm1-u
distribute-lft-out--
cbrt-undiv flip3-- div-exp flip-- associate-/l/
rem-sqrt-square clear-num associate-/r* sub-neg frac-2neg sqrt-pow1 pow1/2 diff-log div-sub prod-exp cbrt-unprod fma-udef div-inv
Counts
4 → 102
Calls
4 calls:
2.0ms
(sqrt (fma -3 (* c a) (* b b)))
0.0ms
(fma -3 (* c a) (* b b))
22.0ms
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
8.0ms
(- (sqrt (fma -3 (* c a) (* b b))) b)

series454.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(sqrt (fma -3 (* c a) (* b b)))
100.0ms
(fma -3 (* c a) (* b b))
108.0ms
(/ (- (sqrt (fma -3 (* c a) (* b b))) b) (* 3 a))
136.0ms
(- (sqrt (fma -3 (* c a) (* b b))) b)

simplify2.6s

Counts
114 → 114
Iterations
IterNodes
done5000
33990
2940
1347
0152

prune723.0ms

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 25.8b

localize86.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
0.4b
(* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b)))
0.4b
(/ (/ (- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
27.2b
(- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b)))

rewrite148.0ms

Algorithm
rewrite-expression-head
Rules
52×times-frac
48×add-sqr-sqrt
32×*-un-lft-identity add-cube-cbrt
23×cube-unmult
20×add-cbrt-cube add-exp-log associate-/l*
11×difference-cubes
10×pow1
cbrt-undiv div-exp
associate-*l* add-log-exp
expm1-log1p-u associate-/r* sqrt-prod fma-udef insert-posit16 log1p-expm1-u div-inv
div-sub associate-*r* prod-exp cbrt-unprod associate-/l/
distribute-rgt-in clear-num frac-2neg distribute-lft-in sqrt-pow1 pow-plus flip3-- pow1/2 associate--l+ pow-prod-up flip-- unswap-sqr
sub-neg fma-neg diff-log prod-diff pow-prod-down *-commutative
Counts
4 → 145
Calls
4 calls:
39.0ms
(/ (- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
8.0ms
(* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b)))
66.0ms
(/ (/ (- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
32.0ms
(- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b)))

series4.1s

Counts
4 → 12
Calls
4 calls:
617.0ms
(/ (- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
1.5s
(* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b)))
644.0ms
(/ (/ (- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
1.3s
(- (* (sqrt (fma (* a c) -3 (* b b))) (fma (* a c) -3 (* b b))) (* b (* b b)))

simplify2.7s

Counts
157 → 157
Iterations
IterNodes
done5002
22080
1595
0235

prune1.3s

Pruning

36 alts after pruning (36 fresh and 0 done)

Merged error: 24.0b

localize64.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3))
0.3b
(/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (- (* (sqrt (fma (* a c) -3 (* b b))) (* b b)) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
0.4b
(/ (/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (- (* (sqrt (fma (* a c) -3 (* b b))) (* b b)) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
28.6b
(- (* (sqrt (fma (* a c) -3 (* b b))) (* b b)) (* b (* b b)))

rewrite645.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
28×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
27×add-cbrt-cube add-exp-log
16×associate-/l*
13×pow1
prod-exp cbrt-unprod
cbrt-undiv div-exp
associate-*l* pow-prod-down add-log-exp
expm1-log1p-u associate-/r* insert-posit16 log1p-expm1-u div-inv
div-sub sqrt-prod associate-/l/
clear-num associate-+r- frac-2neg
sub-neg flip3-+ flip3-- distribute-rgt-out-- fma-neg diff-log associate-*r* prod-diff *-commutative flip-+ flip--
Counts
4 → 128
Calls
4 calls:
78.0ms
(* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3))
275.0ms
(/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (- (* (sqrt (fma (* a c) -3 (* b b))) (* b b)) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
269.0ms
(/ (/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (- (* (sqrt (fma (* a c) -3 (* b b))) (* b b)) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
20.0ms
(- (* (sqrt (fma (* a c) -3 (* b b))) (* b b)) (* b (* b b)))

series1.3s

Counts
4 → 12
Calls
4 calls:
109.0ms
(* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3))
375.0ms
(/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (- (* (sqrt (fma (* a c) -3 (* b b))) (* b b)) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
558.0ms
(/ (/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (- (* (sqrt (fma (* a c) -3 (* b b))) (* b b)) (* b (* b b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
250.0ms
(- (* (sqrt (fma (* a c) -3 (* b b))) (* b b)) (* b (* b b)))

simplify2.5s

Counts
140 → 140
Iterations
IterNodes
done5001
22463
1635
0239

prune1.5s

Pruning

46 alts after pruning (46 fresh and 0 done)

Merged error: 23.5b

localize63.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (+ (fma (sqrt (fma (* a c) -3 (* b b))) (* b b) (- (* (* b b) b))) (fma (- (* b b)) b (* (* b b) b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
0.4b
(/ (/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (+ (fma (sqrt (fma (* a c) -3 (* b b))) (* b b) (- (* (* b b) b))) (fma (- (* b b)) b (* (* b b) b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
28.2b
(fma (sqrt (fma (* a c) -3 (* b b))) (* b b) (- (* (* b b) b)))
62.0b
(fma (- (* b b)) b (* (* b b) b))

rewrite352.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
26×add-sqr-sqrt *-un-lft-identity add-cube-cbrt
18×add-cbrt-cube add-exp-log
16×associate-/l*
cbrt-undiv div-exp
expm1-log1p-u pow1 associate-/r* insert-posit16 log1p-expm1-u div-inv add-log-exp
associate-/l/
clear-num frac-2neg prod-exp cbrt-unprod fma-udef
flip3-+ flip-+
Counts
4 → 103
Calls
4 calls:
185.0ms
(/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (+ (fma (sqrt (fma (* a c) -3 (* b b))) (* b b) (- (* (* b b) b))) (fma (- (* b b)) b (* (* b b) b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
164.0ms
(/ (/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (+ (fma (sqrt (fma (* a c) -3 (* b b))) (* b b) (- (* (* b b) b))) (fma (- (* b b)) b (* (* b b) b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
0.0ms
(fma (sqrt (fma (* a c) -3 (* b b))) (* b b) (- (* (* b b) b)))
0.0ms
(fma (- (* b b)) b (* (* b b) b))

series1.4s

Counts
4 → 12
Calls
4 calls:
436.0ms
(/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (+ (fma (sqrt (fma (* a c) -3 (* b b))) (* b b) (- (* (* b b) b))) (fma (- (* b b)) b (* (* b b) b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b))))
597.0ms
(/ (/ (+ (* (sqrt (fma (* a c) -3 (* b b))) (* (* a c) -3)) (+ (fma (sqrt (fma (* a c) -3 (* b b))) (* b b) (- (* (* b b) b))) (fma (- (* b b)) b (* (* b b) b)))) (fma (sqrt (fma (* a c) -3 (* b b))) b (+ (fma (* a c) -3 (* b b)) (* b b)))) (* 3 a))
265.0ms
(fma (sqrt (fma (* a c) -3 (* b b))) (* b b) (- (* (* b b) b)))
104.0ms
(fma (- (* b b)) b (* (* b b) b))

simplify2.3s

Counts
115 → 115
Iterations
IterNodes
done5001
21635
1452
0183

prune805.0ms

Pruning

59 alts after pruning (59 fresh and 0 done)

Merged error: 23.3b

regimes1.7s

Accuracy

0% (2.3b remaining)

Error of 25.8b against oracle of 23.5b and baseline of 25.8b

bsearch0.0ms

simplify10.0ms

Iterations
IterNodes
done42
242
140
026

end0.0ms

sample4.5s

Algorithm
intervals
Results
1.2s4483×body160valid
1.0s8426×body80nan
881.0ms16426×pre80true
439.0ms3517×body80valid