Details

Time bar (total: 12.4s)

sample163.0ms

Algorithm
intervals
Results
91.0ms126×body1280valid
29.0ms60×body640valid
10.0ms256×pre80true
6.0ms23×body320valid
3.0ms37×body80valid
2.0ms10×body160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.7b

localize10.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))

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

series285.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune339.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize19.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))

series888.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(+ (tan y) (tan z))
333.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
374.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
90.0ms
(* (tan y) (tan z))

simplify75.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0367860
11074821
23057814
35001814

prune285.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize20.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)))

rewrite131.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))
39.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.5s

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (tan y) (tan z))
36.0ms
(* (tan a) (tan a))
217.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)))

simplify56.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09864500
150014174

prune719.0ms

Pruning

8 alts after pruning (8 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)))

rewrite157.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))
50.0ms
(* (+ (tan y) (tan z)) (/ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (- 1 (* (tan y) (tan z)))))
89.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:
91.0ms
(* (tan y) (tan z))
37.0ms
(* (tan a) (tan a))
220.0ms
(* (+ (tan y) (tan z)) (/ (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (- 1 (* (tan y) (tan z)))))
1.2s
(/ (- (* (+ (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)))

simplify56.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011604515
150014135

prune879.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

regimes236.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03034
13234
23234

end0.0ms

sample4.7s

Algorithm
intervals
Results
2.9s3961×body1280valid
817.0ms1922×body640valid
309.0ms8000×pre80true
196.0ms682×body320valid
98.0ms1154×body80valid
55.0ms281×body160valid