Details

Time bar (total: 20.2s)

sample23.0ms

Algorithm
intervals
Results
10.0ms310×body80valid

simplify6.6s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1229
2469
31199
42289
53589
65079
710089
837839
done50019

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.2b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite125.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r*
pow1 associate-*r/
times-frac associate-*l* associate-/r*
cbrt-undiv expm1-log1p-u flip3-+ div-exp prod-exp cbrt-unprod flip-+ log1p-expm1-u associate-/l/ distribute-lft-out add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
2 → 51
Calls
2 calls:
83.0ms
(* x (+ (- y z) 1.0))
41.0ms
(/ (* x (+ (- y z) 1.0)) z)

series89.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(* x (+ (- y z) 1.0))
48.0ms
(/ (* x (+ (- y z) 1.0)) z)

simplify2.9s

Counts
57 → 57
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
098645
1262625
2923531
34857520
done5000520

prune153.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
13×*-un-lft-identity associate-*l*
11×add-cube-cbrt
10×times-frac
add-exp-log add-cbrt-cube
pow1 associate-*r* add-log-exp
prod-diff
distribute-rgt-in expm1-log1p-u frac-times distribute-lft-in flip3-+ associate-*r/ prod-exp associate--l+ cbrt-unprod flip-+ log1p-expm1-u unswap-sqr
cbrt-undiv sub-neg flip3-- fma-neg diff-log div-exp pow-prod-down associate-*l/ *-commutative flip-- div-inv distribute-lft-out
Counts
2 → 61
Calls
2 calls:
19.0ms
(- (* (/ x z) (+ y 1.0)) x)
31.0ms
(* (/ x z) (+ y 1.0))

series115.0ms

Counts
2 → 6
Calls
2 calls:
53.0ms
(- (* (/ x z) (+ y 1.0)) x)
62.0ms
(* (/ x z) (+ y 1.0))

simplify1.5s

Counts
67 → 67
Iterations

Useful iterations: done (1.5s)

IterNodesCost
0133793
1411709
21290654
done5000648

prune251.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
2.9b
(/ x (/ z (+ (- y z) 1.0)))

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
150×*-un-lft-identity
138×times-frac
70×add-sqr-sqrt add-cube-cbrt
32×distribute-lft-out
26×associate-/r*
16×distribute-lft-out--
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
Counts
2 → 143
Calls
2 calls:
51.0ms
(/ z (+ (- y z) 1.0))
82.0ms
(/ x (/ z (+ (- y z) 1.0)))

series172.0ms

Counts
2 → 6
Calls
2 calls:
77.0ms
(/ z (+ (- y z) 1.0))
95.0ms
(/ x (/ z (+ (- y z) 1.0)))

simplify1.4s

Counts
149 → 149
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02042436
14492269
215122172
done50012149

prune457.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
21×prod-diff
15×times-frac
10×add-exp-log add-cbrt-cube
fma-neg
pow1 div-inv add-log-exp
associate-*r/ associate-*r*
expm1-log1p-u associate-*l* associate-/r* log1p-expm1-u
cbrt-undiv flip3-+ div-exp prod-exp cbrt-unprod flip-+ associate-/l/
distribute-rgt-in sub-neg flip3-- frac-2neg distribute-lft-in diff-log pow-prod-down clear-num *-commutative flip-- distribute-lft-out associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 94
Calls
3 calls:
48.0ms
(* x (+ y 1.0))
49.0ms
(- (/ (* x (+ y 1.0)) z) x)
31.0ms
(/ (* x (+ y 1.0)) z)

series192.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(* x (+ y 1.0))
63.0ms
(- (/ (* x (+ y 1.0)) z) x)
76.0ms
(/ (* x (+ y 1.0)) z)

simplify4.4s

Counts
103 → 103
Iterations

Useful iterations: 3 (2.4s)

IterNodesCost
01491450
13691212
210831045
34956943
done5000943

prune284.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes139.0ms

Accuracy

96.1% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 1.8b

bsearch1.0ms

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02151
12943
done2943

end0.0ms

sample1.1s

Algorithm
intervals
Results
566.0ms10099×body80valid