Details

Time bar (total: 18.0s)

sample171.0ms

Algorithm
intervals
Results
94.0ms126×body1280valid
33.0ms60×body640valid
10.0ms256×pre80true
7.0ms23×body320valid
3.0ms37×body80valid
2.0ms10×body160valid

simplify263.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
099
1159
2229
3319
4379
5479
6549
7649
8829
9999
101079
done1079

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.7b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.1b
(- (tan (+ y z)) (tan a))
3.8b
(tan (+ y z))

rewrite22.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:
7.0ms
(+ x (- (tan (+ y z)) (tan a)))
10.0ms
(- (tan (+ y z)) (tan a))
3.0ms
(tan (+ y z))

series285.0ms

Counts
3 → 9
Calls
3 calls:
122.0ms
(+ x (- (tan (+ y z)) (tan a)))
114.0ms
(- (tan (+ y z)) (tan a))
49.0ms
(tan (+ y z))

simplify1.5s

Counts
51 → 51
Iterations

Useful iterations: 3 (143.0ms)

IterNodesCost
091627
1197590
2430572
31029570
43629570
done5000570

prune151.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan y) (tan z))
0.1b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.1b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative sub-neg associate-+r+ flip3-+ diff-log flip-+ distribute-lft-out-- difference-of-squares
frac-times associate-+r- flip3-- times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp *-commutative frac-sub flip-- cbrt-unprod unswap-sqr
Counts
4 → 67
Calls
4 calls:
3.0ms
(+ (tan y) (tan z))
70.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
39.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series914.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(+ (tan y) (tan z))
344.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
386.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
92.0ms
(* (tan y) (tan z))

simplify1.1s

Counts
79 → 79
Iterations

Useful iterations: 3 (400.0ms)

IterNodesCost
01541433
13681362
29191302
323161291
done50001291

prune276.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.3b
(* (tan a) (tan a))
0.4b
(* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))
1.4b
(/ (- (* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (* (tan a) (tan a))) (+ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))

rewrite133.0ms

Algorithm
rewrite-expression-head
Rules
108×*-un-lft-identity
80×times-frac
72×add-sqr-sqrt
56×add-cube-cbrt
27×swap-sqr
24×associate-*r* associate-*l*
23×distribute-lft-out
22×add-exp-log add-cbrt-cube
21×tan-quot
20×pow1
11×associate-/r/ associate-/l/
frac-times associate-*r/ associate-*l/ frac-sub
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv flip3-- div-exp flip-- div-inv difference-of-squares
associate-/r* associate-/l* add-log-exp
pow-prod-down *-commutative
pow2 pow-plus pow-sqr pow-prod-up
frac-2neg flip3-+ div-sub frac-add clear-num flip-+
Counts
4 → 188
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan a) (tan a))
37.0ms
(* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))
75.0ms
(/ (- (* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (* (tan a) (tan a))) (+ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))

series1.6s

Counts
4 → 12
Calls
4 calls:
90.0ms
(* (tan y) (tan z))
32.0ms
(* (tan a) (tan a))
223.0ms
(* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))))
1.2s
(/ (- (* (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))) (* (tan a) (tan a))) (+ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))

simplify1.2s

Counts
200 → 200
Iterations

Useful iterations: 2 (443.0ms)

IterNodesCost
03447613
19697005
236616454
done50016454

prune670.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.3b
(* (tan a) (tan a))
0.4b
(* (+ (tan y) (tan z)) (/ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (- 1 (* (tan y) (tan z)))))
1.4b
(/ (- (* (+ (tan y) (tan z)) (/ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (- 1 (* (tan y) (tan z))))) (* (tan a) (tan a))) (+ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))

rewrite153.0ms

Algorithm
rewrite-expression-head
Rules
105×times-frac
91×*-un-lft-identity
76×add-sqr-sqrt
66×associate-*r*
63×add-cube-cbrt
53×tan-quot
23×associate-/l/
21×frac-times associate-*l/ frac-sub
19×add-exp-log add-cbrt-cube
15×pow1
14×distribute-lft-out
13×associate-*r/
11×associate-/r/
10×associate-*l*
flip3-+ frac-add flip-+
flip3-- prod-exp flip-- cbrt-unprod div-inv unswap-sqr
cbrt-undiv div-exp associate-/r* add-log-exp
swap-sqr pow-prod-down *-commutative associate-/l*
pow2 frac-2neg pow-plus div-sub clear-num pow-sqr pow-prod-up
Counts
4 → 196
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan a) (tan a))
48.0ms
(* (+ (tan y) (tan z)) (/ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (- 1 (* (tan y) (tan z)))))
85.0ms
(/ (- (* (+ (tan y) (tan z)) (/ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (- 1 (* (tan y) (tan z))))) (* (tan a) (tan a))) (+ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))

series1.6s

Counts
4 → 12
Calls
4 calls:
94.0ms
(* (tan y) (tan z))
33.0ms
(* (tan a) (tan a))
232.0ms
(* (+ (tan y) (tan z)) (/ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (- 1 (* (tan y) (tan z)))))
1.3s
(/ (- (* (+ (tan y) (tan z)) (/ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (- 1 (* (tan y) (tan z))))) (* (tan a) (tan a))) (+ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))

simplify1.4s

Counts
208 → 208
Iterations

Useful iterations: 2 (533.0ms)

IterNodesCost
04207271
111466988
246286445
done50006445

prune889.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

regimes232.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
03397
14393
done4393

end0.0ms

sample5.1s

Algorithm
intervals
Results
3.2s3961×body1280valid
853.0ms1922×body640valid
332.0ms8000×pre80true
212.0ms682×body320valid
103.0ms1154×body80valid
66.0ms281×body160valid