Details

Time bar (total: 27.7s)

sample371.0ms

Algorithm
intervals
Results
168.0ms128×body1280valid
71.0ms256×pre80true
65.0ms68×body640valid
14.0ms23×body320valid
6.0ms29×body80valid
3.0msbody160valid

simplify159.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
099
1159
2229
3339
4389
5459
6519
7619
8749
9869
10959
done959

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.6b

localize20.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
4.1b
(tan (+ y z))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
17.0ms
(+ x (- (tan (+ y z)) (tan a)))
31.0ms
(- (tan (+ y z)) (tan a))
11.0ms
(tan (+ y z))

series370.0ms

Counts
3 → 9
Calls
3 calls:
145.0ms
(+ x (- (tan (+ y z)) (tan a)))
138.0ms
(- (tan (+ y z)) (tan a))
87.0ms
(tan (+ y z))

simplify2.7s

Counts
51 → 51
Iterations

Useful iterations: 3 (224.0ms)

IterNodesCost
091627
1196590
2453572
31243570
44659570
done5000570

prune215.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.1b

localize33.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (tan y) (tan z)) (cos a))
0.2b
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))

rewrite161.0ms

Algorithm
rewrite-expression-head
Rules
19×associate-*l/
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
14×tan-quot *-un-lft-identity
12×add-cube-cbrt
10×pow1 associate-*l*
associate-*r*
associate-/l/
frac-sub
flip3-- flip--
prod-exp cbrt-unprod add-log-exp
flip3-+ times-frac pow-prod-down frac-add *-commutative flip-+ associate-/l* unswap-sqr
cbrt-undiv frac-times associate-*r/ div-exp associate-/r/
frac-2neg div-sub clear-num associate-/r* div-inv distribute-lft-out
Counts
4 → 96
Calls
4 calls:
31.0ms
(* (+ (tan y) (tan z)) (cos a))
72.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
31.0ms
(* (tan y) (tan z))
23.0ms
(* (tan y) (tan z))

series1.4s

Counts
4 → 12
Calls
4 calls:
253.0ms
(* (+ (tan y) (tan z)) (cos a))
792.0ms
(/ (- (* (+ (tan y) (tan z)) (cos a)) (* (- 1 (* (tan y) (tan z))) (sin a))) (* (- 1 (* (tan y) (tan z))) (cos a)))
155.0ms
(* (tan y) (tan z))
160.0ms
(* (tan y) (tan z))

simplify1.6s

Counts
108 → 108
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01952138
15792041
222821664
done50001625

prune655.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
49×pow1
44×tan-quot
22×add-exp-log add-cbrt-cube
20×frac-times pow-prod-down
16×add-sqr-sqrt
14×associate-*r/ associate-*l/
11×prod-exp cbrt-unprod
10×add-cube-cbrt *-un-lft-identity associate-*r* associate-*l*
pow-sqr *-commutative pow-prod-up add-log-exp
unswap-sqr
pow-plus
pow2 swap-sqr
Counts
4 → 112
Calls
4 calls:
23.0ms
(* (tan y) (tan z))
15.0ms
(* (tan y) (tan z))
21.0ms
(* (tan y) (tan z))
114.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

series525.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(* (tan y) (tan z))
129.0ms
(* (tan y) (tan z))
130.0ms
(* (tan y) (tan z))
152.0ms
(* (* (tan y) (tan z)) (* (tan y) (tan z)))

simplify2.8s

Counts
124 → 124
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
01151312
13071231
210451047
337941017
done50001017

prune634.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

localize45.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (tan y) (tan z)) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))
0.3b
(* (tan y) (tan z))

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
24×tan-quot
17×add-sqr-sqrt
15×pow1 add-exp-log add-cbrt-cube
12×associate-*r*
11×add-cube-cbrt *-un-lft-identity
10×associate-*l*
frac-times associate-*l/
associate-*r/ pow-prod-down prod-exp cbrt-unprod
*-commutative add-log-exp
unswap-sqr
Counts
4 → 88
Calls
4 calls:
69.0ms
(* (* (tan y) (tan z)) (tan z))
16.0ms
(* (tan y) (tan z))
34.0ms
(* (tan y) (tan z))
16.0ms
(* (tan y) (tan z))

series580.0ms

Counts
4 → 12
Calls
4 calls:
135.0ms
(* (* (tan y) (tan z)) (tan z))
145.0ms
(* (tan y) (tan z))
150.0ms
(* (tan y) (tan z))
149.0ms
(* (tan y) (tan z))

simplify2.1s

Counts
100 → 100
Iterations

Useful iterations: done (2.1s)

IterNodesCost
094943
1241925
2720811
31765804
done5000798

prune642.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.1b

regimes1.4s

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 0.2b

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02243
13243
done3243

end0.0ms

sample10.8s

Algorithm
intervals
Results
6.9s3921×body1280valid
1.8s1982×body640valid
796.0ms698×body320valid
529.0ms8000×pre80true
172.0ms1132×body80valid
89.0ms267×body160valid