Details

Time bar (total: 7.8s)

sample16.0ms

Algorithm
intervals
Results
7.0ms317×body80valid

simplify898.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
089
1229
2439
31069
41899
52889
64279
714239
done50009

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.4b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite55.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:
36.0ms
(* x (+ (- y z) 1.0))
18.0ms
(/ (* x (+ (- y z) 1.0)) z)

series72.0ms

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

simplify434.0ms

Counts
53 → 53
Iterations

Useful iterations: done (432.0ms)

IterNodesCost
094609
1260593
21100499
done5002497

prune101.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite48.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:
19.0ms
(/ z (+ (- y z) 1.0))
22.0ms
(/ x (/ z (+ (- y z) 1.0)))

series90.0ms

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

simplify633.0ms

Counts
145 → 145
Iterations

Useful iterations: 2 (145.0ms)

IterNodesCost
02002400
14622236
220612142
done50002142

prune250.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
31×times-frac
27×add-sqr-sqrt
22×add-cube-cbrt
19×associate-*r*
14×distribute-lft-out
add-exp-log add-cbrt-cube
distribute-lft-out--
associate-/l*
pow1
associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ add-log-exp unswap-sqr
associate-+l- frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
2 → 76
Calls
2 calls:
33.0ms
(/ (+ (- y z) 1.0) z)
41.0ms
(* x (/ (+ (- y z) 1.0) z))

series64.0ms

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

simplify2.5s

Counts
82 → 82
Iterations

Useful iterations: 3 (472.0ms)

IterNodesCost
01071003
1270955
21052867
34836859
done5000859

prune130.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1 times-frac associate-/r*
cbrt-undiv diff-log div-exp sum-log
+-commutative sub-neg flip3-- frac-2neg flip3-+ associate-*r/ frac-add prod-exp associate--l+ clear-num flip-- cbrt-unprod flip-+ div-inv associate-/l* distribute-lft-out-- difference-of-squares
Counts
3 → 49
Calls
3 calls:
40.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
6.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
3.0ms
(/ (* x y) z)

series105.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
46.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
19.0ms
(/ (* x y) z)

simplify1.6s

Counts
58 → 58
Iterations

Useful iterations: 3 (393.0ms)

IterNodesCost
099812
1268759
21034713
34648701
done5000701

prune107.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes70.0ms

Accuracy

95.4% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 3.1b

bsearch69.0ms

Steps
ItersRangePoint
9
2.348427012896484e-32
1.0522503829473482e-26
1.3016685546439945e-27
8
-2.7564750964835823e+41
-8.012487723561745e+37
-6.231177025534271e+38

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
01635
12227
done2227

end0.0ms

sample451.0ms

Algorithm
intervals
Results
244.0ms10098×body80valid