Details

Time bar (total: 15.1s)

sample23.0ms

Algorithm
intervals
Results
10.0ms324×body80valid

simplify3.7s

Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
079
1119
2208
3368
4548
5748
6978
71348
82028
92878
104128
116978
1216938
done50008

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.3b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (* y (- z x)))
0.0b
(* y (- z x))
7.9b
(/ (+ x (* y (- z x))) z)

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
40×*-un-lft-identity
38×add-cube-cbrt
36×prod-diff
22×distribute-rgt-in associate-+r+ distribute-lft-in
times-frac
add-exp-log add-cbrt-cube
pow1 associate-*r* add-log-exp
sub-neg
expm1-log1p-u fma-def associate-*l* associate-/r* log1p-expm1-u associate-/l*
flip3-+ associate-*r/ flip-+ associate-/l/
cbrt-undiv +-commutative flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num sum-log *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 115
Calls
3 calls:
12.0ms
(+ x (* y (- z x)))
22.0ms
(* y (- z x))
23.0ms
(/ (+ x (* y (- z x))) z)

series127.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ x (* y (- z x)))
44.0ms
(* y (- z x))
49.0ms
(/ (+ x (* y (- z x))) z)

simplify2.1s

Counts
124 → 124
Iterations

Useful iterations: 3 (842.0ms)

IterNodesCost
01871725
13751449
29441173
342291107
done50001107

prune248.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 3.8b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ (/ x z) y) (/ (* x y) z))
0.0b
(+ (/ x z) y)
8.2b
(/ (* x y) z)

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity
30×add-sqr-sqrt
28×add-cube-cbrt prod-diff
24×times-frac
13×fma-def
10×distribute-lft-out add-log-exp
add-exp-log add-cbrt-cube
div-inv
fma-neg
pow1 expm1-log1p-u associate-/r* log1p-expm1-u
cbrt-undiv flip3-+ diff-log div-exp sum-log frac-sub flip-+ distribute-lft-out--
+-commutative sub-neg flip3-- frac-2neg prod-exp associate--l+ clear-num flip-- cbrt-unprod associate-/l* difference-of-squares
Counts
3 → 103
Calls
3 calls:
123.0ms
(- (+ (/ x z) y) (/ (* x y) z))
19.0ms
(+ (/ x z) y)
10.0ms
(/ (* x y) z)

series78.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(- (+ (/ x z) y) (/ (* x y) z))
22.0ms
(+ (/ x z) y)
23.0ms
(/ (* x y) z)

simplify1.4s

Counts
112 → 112
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01542085
13901744
213791437
done50001185

prune218.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ (/ x z) y) (/ x (/ z y)))
0.0b
(+ (/ x z) y)
5.8b
(/ x (/ z y))

rewrite199.0ms

Algorithm
rewrite-expression-head
Rules
351×times-frac
334×*-un-lft-identity
246×add-sqr-sqrt
237×add-cube-cbrt
176×prod-diff
47×distribute-lft-out
22×div-inv
13×fma-def associate-/r*
10×add-log-exp
add-exp-log add-cbrt-cube
associate-/r/
fma-neg
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u associate-/l* difference-of-squares
flip3-+ diff-log sum-log frac-sub flip-+ distribute-lft-out--
+-commutative sub-neg flip3-- frac-2neg associate--l+ clear-num flip--
Counts
3 → 302
Calls
3 calls:
148.0ms
(- (+ (/ x z) y) (/ x (/ z y)))
20.0ms
(+ (/ x z) y)
9.0ms
(/ x (/ z y))

series87.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(- (+ (/ x z) y) (/ x (/ z y)))
21.0ms
(+ (/ x z) y)
31.0ms
(/ x (/ z y))

simplify1.7s

Counts
311 → 311
Iterations

Useful iterations: done (1.7s)

IterNodesCost
051512532
1129611507
242188521
done50008469

prune586.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ (/ x z) y) (/ 1 (/ (/ z y) x)))
0.0b
(+ (/ x z) y)
0.6b
(/ 1 (/ (/ z y) x))
5.7b
(/ (/ z y) x)

rewrite373.0ms

Algorithm
rewrite-expression-head
Rules
1797×times-frac
1251×*-un-lft-identity
991×add-sqr-sqrt
968×add-cube-cbrt
536×prod-diff
138×distribute-lft-out
77×div-inv
46×associate-/r*
30×add-exp-log
18×div-exp add-cbrt-cube
16×associate-/l*
13×fma-def
11×add-log-exp
cbrt-undiv
difference-of-squares
pow1 associate-/r/
expm1-log1p-u fma-neg log1p-expm1-u distribute-lft-out--
rec-exp 1-exp
frac-2neg flip3-+ diff-log clear-num sum-log frac-sub flip-+
+-commutative sub-neg flip3-- pow-flip associate--l+ flip-- associate-/l/ inv-pow
Counts
4 → 870
Calls
4 calls:
216.0ms
(- (+ (/ x z) y) (/ 1 (/ (/ z y) x)))
19.0ms
(+ (/ x z) y)
24.0ms
(/ 1 (/ (/ z y) x))
13.0ms
(/ (/ z y) x)

series121.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (+ (/ x z) y) (/ 1 (/ (/ z y) x)))
32.0ms
(+ (/ x z) y)
27.0ms
(/ 1 (/ (/ z y) x))
26.0ms
(/ (/ z y) x)

simplify1.8s

Counts
882 → 882
Iterations

Useful iterations: done (1.7s)

IterNodesCost
0141048847
1364540262
done500031092

prune1.3s

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes87.0ms

Accuracy

84.1% (0.5b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 3.0b

bsearch44.0ms

Steps
ItersRangePoint
4
9.788594240831222e-155
1.3748351337229591e-154
1.3624608927967141e-154
7
-1.50113664730667e+20
-1.8184064390051942e+18
-4.5420229474314215e+19

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
01741
12231
done2231

end0.0ms

sample533.0ms

Algorithm
intervals
Results
244.0ms10151×body80valid