Details

Time bar (total: 18.1s)

sample36.0ms

Algorithm
intervals
Results
17.0ms265×body80valid

simplify1.9s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01317
12517
23917
36417
411417
526217
679317
7318017
done500017

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.1b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite273.0ms

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

series335.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(- (* y z) x)
34.0ms
(- (* t z) x)
189.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
76.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify1.7s

Counts
125 → 125
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01872188
15002077
222271926
done50021918

prune517.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize42.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ x (- (* t z) x)) (+ x 1.0))
1.9b
(/ x (- (* t z) x))
3.1b
(/ y (fma t z (- x)))
3.5b
(fma (/ y (fma t z (- x))) z x)

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
123×times-frac
103×*-un-lft-identity
71×add-sqr-sqrt add-cube-cbrt
21×associate-/l*
16×distribute-lft-out
14×associate-/r/
13×add-exp-log add-cbrt-cube
10×associate-/r*
div-inv
flip3-- flip--
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
flip3-+ flip-+ fma-udef associate-/l/
Counts
4 → 168
Calls
4 calls:
54.0ms
(/ (/ x (- (* t z) x)) (+ x 1.0))
34.0ms
(/ x (- (* t z) x))
10.0ms
(/ y (fma t z (- x)))
1.0ms
(fma (/ y (fma t z (- x))) z x)

series366.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(/ (/ x (- (* t z) x)) (+ x 1.0))
78.0ms
(/ x (- (* t z) x))
55.0ms
(/ y (fma t z (- x)))
108.0ms
(fma (/ y (fma t z (- x))) z x)

simplify1.4s

Counts
180 → 180
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02653120
16332988
225892845
done50002836

prune938.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize35.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ (- x) (- (fma t z (- x)))) (+ x 1.0))
1.9b
(/ (- x) (- (fma t z (- x))))
3.1b
(/ y (fma t z (- x)))
3.5b
(fma (/ y (fma t z (- x))) z x)

rewrite493.0ms

Algorithm
rewrite-expression-head
Rules
1025×times-frac
698×*-un-lft-identity
488×add-sqr-sqrt add-cube-cbrt
366×distribute-lft-neg-in distribute-rgt-neg-in
122×neg-mul-1
117×associate-/l*
105×distribute-lft-out
17×associate-/r*
13×add-exp-log add-cbrt-cube
div-inv
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg div-sub distribute-frac-neg clear-num
neg-sub0 associate-/r/
flip3-+ flip-+ fma-udef associate-/l/
Counts
4 → 720
Calls
4 calls:
48.0ms
(/ (/ (- x) (- (fma t z (- x)))) (+ x 1.0))
372.0ms
(/ (- x) (- (fma t z (- x))))
5.0ms
(/ y (fma t z (- x)))
0.0ms
(fma (/ y (fma t z (- x))) z x)

series363.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(/ (/ (- x) (- (fma t z (- x)))) (+ x 1.0))
81.0ms
(/ (- x) (- (fma t z (- x))))
39.0ms
(/ y (fma t z (- x)))
88.0ms
(fma (/ y (fma t z (- x))) z x)

simplify1.2s

Counts
732 → 732
Iterations

Useful iterations: done (1.2s)

IterNodesCost
080817021
1205916177
done500116019

prune2.9s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize33.0ms

Local error

Found 4 expressions with local error:

1.1b
(/ (cbrt x) (- (fma t z (- x))))
3.1b
(/ y (fma t z (- x)))
3.5b
(fma (/ y (fma t z (- x))) z x)
11.0b
(* (- (* (cbrt x) (cbrt x))) (/ (/ (cbrt x) (- (fma t z (- x)))) (+ x 1.0)))

rewrite225.0ms

Algorithm
rewrite-expression-head
Rules
570×times-frac
405×*-un-lft-identity
290×add-sqr-sqrt
277×add-cube-cbrt
262×associate-*r*
154×cbrt-prod
94×distribute-lft-neg-in distribute-rgt-neg-in
64×distribute-lft-out
32×neg-mul-1
17×add-exp-log
15×add-cbrt-cube
13×associate-/r*
associate-/l*
div-inv
pow1 associate-*l*
cbrt-undiv div-exp
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
prod-exp cbrt-unprod
frac-2neg clear-num associate-/r/
distribute-lft-neg-out flip3-+ associate-*r/ pow-prod-down *-commutative flip-+ fma-udef
Counts
4 → 420
Calls
4 calls:
9.0ms
(/ (cbrt x) (- (fma t z (- x))))
7.0ms
(/ y (fma t z (- x)))
0.0ms
(fma (/ y (fma t z (- x))) z x)
153.0ms
(* (- (* (cbrt x) (cbrt x))) (/ (/ (cbrt x) (- (fma t z (- x)))) (+ x 1.0)))

series575.0ms

Counts
4 → 12
Calls
4 calls:
239.0ms
(/ (cbrt x) (- (fma t z (- x))))
58.0ms
(/ y (fma t z (- x)))
102.0ms
(fma (/ y (fma t z (- x))) z x)
176.0ms
(* (- (* (cbrt x) (cbrt x))) (/ (/ (cbrt x) (- (fma t z (- x)))) (+ x 1.0)))

simplify1.2s

Counts
432 → 432
Iterations

Useful iterations: done (1.2s)

IterNodesCost
06089013
121398462
done50018216

prune1.8s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes280.0ms

Accuracy

61.8% (1.7b remaining)

Error of 2.1b against oracle of 0.4b and baseline of 4.9b

bsearch2.0ms

simplify11.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
035101
146101
250101
353101
454101
done54101

end0.0ms

sample1.4s

Algorithm
intervals
Results
842.0ms8360×body80valid