Details

Time bar (total: 18.3s)

sample29.0ms

Algorithm
intervals
Results
12.0ms310×body80valid

simplify5.6s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1229
2449
31139
41949
52919
63859
77959
831279
done50009

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.2b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite172.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 flip3-+ div-exp prod-exp cbrt-unprod flip-+ 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 → 47
Calls
2 calls:
122.0ms
(* x (+ (- y z) 1.0))
47.0ms
(/ (* x (+ (- y z) 1.0)) z)

series85.0ms

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

simplify2.7s

Counts
53 → 53
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
094609
1254593
2882499
34763485
done5002485

prune137.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite73.0ms

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

series115.0ms

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

simplify3.3s

Counts
59 → 59
Iterations

Useful iterations: 3 (1.7s)

IterNodesCost
0114680
1368628
21158582
34795576
done5000576

prune160.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite114.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 frac-2neg clear-num add-log-exp
Counts
2 → 139
Calls
2 calls:
49.0ms
(/ z (+ (- y z) 1.0))
58.0ms
(/ x (/ z (+ (- y z) 1.0)))

series142.0ms

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

simplify1.4s

Counts
145 → 145
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02002400
14412236
214792142
done50012116

prune363.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
10×add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 add-log-exp
associate-*r/ associate-*r*
times-frac associate-*l* associate-/r*
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-- div-inv distribute-lft-out associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 60
Calls
3 calls:
35.0ms
(* x (+ 1.0 y))
28.0ms
(- (/ (* x (+ 1.0 y)) z) x)
17.0ms
(/ (* x (+ 1.0 y)) z)

series151.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(* x (+ 1.0 y))
56.0ms
(- (/ (* x (+ 1.0 y)) z) x)
58.0ms
(/ (* x (+ 1.0 y)) z)

simplify2.4s

Counts
69 → 69
Iterations

Useful iterations: 3 (1.2s)

IterNodesCost
0111725
1283684
2908622
33884592
done5000592

prune158.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes121.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

sample889.0ms

Algorithm
intervals
Results
424.0ms10099×body80valid