Details

Time bar (total: 14.9s)

sample20.0ms

Algorithm
intervals
Results
9.0ms266×body80valid

simplify3.3s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01317
12517
23917
36417
411317
520217
639917
782817
8251417
done500117

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (- (* y z) x) (- (* t z) x)))
0.0b
(- (* t z) x)
0.5b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
10.6b
(/ (- (* y z) x) (- (* t z) x))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
25×times-frac
24×add-sqr-sqrt add-cube-cbrt
11×distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 expm1-log1p-u div-sub associate-/r/ log1p-expm1-u associate-/l/
flip3-- fma-def flip3-+ prod-diff flip-- flip-+
cbrt-undiv associate-+r- frac-2neg div-exp clear-num div-inv
+-commutative sub-neg fma-neg diff-log sum-log
Counts
4 → 113
Calls
4 calls:
19.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
3.0ms
(- (* t z) x)
54.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
11.0ms
(/ (- (* y z) x) (- (* t z) x))

series287.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
24.0ms
(- (* t z) x)
124.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
56.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify2.2s

Counts
125 → 125
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01822295
14542174
212662039
344972030
done50002026

prune532.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.5b

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (+ x (- (* y (/ z (fma z t (- x)))) (/ x (- (* t z) x)))) (+ x 1.0))
2.8b
(* y (/ z (fma z t (- x))))
3.8b
(/ x (- (* t z) x))
7.6b
(/ z (fma z t (- x)))

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
44×times-frac
43×add-sqr-sqrt
38×add-cube-cbrt
15×add-exp-log add-cbrt-cube
13×associate-*r*
10×associate-/r* distribute-lft-out associate-/l*
pow1
cbrt-undiv expm1-log1p-u div-exp associate-/r/ log1p-expm1-u div-inv add-log-exp
frac-2neg associate-*l* clear-num
flip3-+ prod-exp cbrt-unprod flip-+ associate-/l/ unswap-sqr
associate-+r- flip3-- div-sub associate-*r/ pow-prod-down *-commutative flip--
Counts
4 → 137
Calls
4 calls:
95.0ms
(/ (+ x (- (* y (/ z (fma z t (- x)))) (/ x (- (* t z) x)))) (+ x 1.0))
7.0ms
(* y (/ z (fma z t (- x))))
6.0ms
(/ x (- (* t z) x))
2.0ms
(/ z (fma z t (- x)))

series266.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(/ (+ x (- (* y (/ z (fma z t (- x)))) (/ x (- (* t z) x)))) (+ x 1.0))
37.0ms
(* y (/ z (fma z t (- x))))
62.0ms
(/ x (- (* t z) x))
38.0ms
(/ z (fma z t (- x)))

simplify1.8s

Counts
149 → 149
Iterations

Useful iterations: done (1.8s)

IterNodesCost
02202715
14882636
213232382
340442382
done50012380

prune471.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.5b

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (+ x (- (* y (/ z (fma z t (- x)))) (* x (/ 1 (fma z t (- x)))))) (+ x 1.0))
2.8b
(* y (/ z (fma z t (- x))))
3.4b
(* x (/ 1 (fma z t (- x))))
7.6b
(/ z (fma z t (- x)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity
50×add-sqr-sqrt
46×times-frac
38×add-cube-cbrt
26×associate-*r*
22×add-exp-log
18×add-cbrt-cube
10×distribute-lft-out
pow1
associate-/r* associate-/l*
associate-*l* prod-exp
div-exp unswap-sqr
cbrt-undiv expm1-log1p-u cbrt-unprod log1p-expm1-u div-inv add-log-exp
frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num associate-/r/ *-commutative flip-+ associate-/l/
associate-+r- rec-exp 1-exp div-sub un-div-inv
Counts
4 → 144
Calls
4 calls:
33.0ms
(/ (+ x (- (* y (/ z (fma z t (- x)))) (* x (/ 1 (fma z t (- x)))))) (+ x 1.0))
7.0ms
(* y (/ z (fma z t (- x))))
10.0ms
(* x (/ 1 (fma z t (- x))))
2.0ms
(/ z (fma z t (- x)))

series263.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(/ (+ x (- (* y (/ z (fma z t (- x)))) (* x (/ 1 (fma z t (- x)))))) (+ x 1.0))
39.0ms
(* y (/ z (fma z t (- x))))
57.0ms
(* x (/ 1 (fma z t (- x))))
41.0ms
(/ z (fma z t (- x)))

simplify2.1s

Counts
156 → 156
Iterations

Useful iterations: done (2.1s)

IterNodesCost
02262923
15292656
213602353
342922353
done50012352

prune463.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.5b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma y (/ z (fma z t (- x))) x)
0.5b
(/ (- (fma y (/ z (fma z t (- x))) x) (/ x (fma z t (- x)))) (+ x 1.0))
3.8b
(/ x (fma z t (- x)))
7.6b
(/ z (fma z t (- x)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
56×*-un-lft-identity
47×times-frac
32×add-cube-cbrt
12×associate-/l*
10×add-exp-log associate-/r* add-cbrt-cube difference-of-squares
distribute-lft-out
distribute-lft-out--
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
associate-/r/ associate-/l/
flip3-- flip3-+ div-sub flip-- flip-+ fma-udef
Counts
4 → 121
Calls
4 calls:
0.0ms
(fma y (/ z (fma z t (- x))) x)
26.0ms
(/ (- (fma y (/ z (fma z t (- x))) x) (/ x (fma z t (- x)))) (+ x 1.0))
2.0ms
(/ x (fma z t (- x)))
4.0ms
(/ z (fma z t (- x)))

series317.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(fma y (/ z (fma z t (- x))) x)
153.0ms
(/ (- (fma y (/ z (fma z t (- x))) x) (/ x (fma z t (- x)))) (+ x 1.0))
61.0ms
(/ x (fma z t (- x)))
37.0ms
(/ z (fma z t (- x)))

simplify1.4s

Counts
133 → 133
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02072844
14422785
210752617
330172611
done50002608

prune418.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

regimes142.0ms

Accuracy

0% (2.1b remaining)

Error of 2.3b against oracle of 0.2b and baseline of 2.3b

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01630
11830
done1830

end0.0ms

sample510.0ms

Algorithm
intervals
Results
307.0ms8330×body80valid